Iam using Selenium Cucumber Maven framework with Junit. I need to run the feature file in different browsers in parallel(at the same time). Does this work if we pass browsernames like this ? mvn test "-Dbrowser=chrome" , "-Dbrowser=firefox" through command line ? If not please help me with a solution. I have been asking this doubt for 2 weeks and Iam not getting any reply. It would be really great if you guys help me with a solution. Thanks in advance .
1
There are 1 best solutions below
Related Questions in MAVEN
- Auto reload with play2
- maven pom.xml dependencies order vs classpath/build path order
- How to ignore or fix the duplicate classes warning?
- Scala Eclipse IDE compiler giving errors until "clean" is run
- How to run multiple "mvn test"-commands from batch file?
- Not able to send email in java using SMTP,its blocked by firewall in my office.Is there any other method by which we can send mail?
- javaCV Maven project
- Logging error when executing Maven SonarQube plugin
- Gradle: Override transitive dependency by version classifier
- Why we need maven if there's javac that compiles the code?
- jar file input == null while java app is working
- JPA and web app
- Test Selector Plugin Jenkins returns No tests were executed
- Eclipse OSGI unsatisfied constraint
- GlassFish 4.0 CDI deployment failure + Apache Spark
Related Questions in CUCUMBER-JVM
- i am unable to run cucumber jvm test in selenium grid in parallel
- Cucumber: undefined steps in cucumber-jvm
- Jenkins cucumber reports to show on main job's page
- Facing issues while running cucumber with serenity
- How can we validate tabular data in robot framework?
- Running a whole scenario before another scenario
- Facing issues while navigating between the reports in Serenity
- How to add custom text in the junit report for a cucumber-jvm run
- Image error observed while trying to use Sikuli with JRuby and Cucumber
- Conditional Inputs?
- Allure and screenshots
- Best way to reference a variable in all classes?
- Spring Batch : How to instantiate "Step" scope bean in Cucumber Testing?
- SessionNotFoundException: Session ID is null. Using WebDriver after calling quit()? (Selenium)
- how to get current Cucumber feature file name at runtime using Java
Related Questions in JUNIT-RUNNER
- What is the difference between SureFire JUnitCore and JUnit4 Runners
- JUnit java.lang.AssertionError: Unimplemented
- Adding a setUp step for multiple JUnit test classes
- Why JUnit "Run as->JUnit" and "Cover as -> Junit" has different behavior?
- How to create a XML report by executing a JAR
- Excluding Time Duration of @BeforeEach and @AfterEach in JUnit5
- Using JUnit @Rule in Eclipse's JUnit runner
- junit implementation of multiple runners
- junit custom runner implementation
- Stopping test runner after first failing test
- Initialize beans in inner Static test class in springBoot
- Missing steps - Junit - Cucumber
- Execution order of ScalaTest and JUnit tests using IntelliJ and Maven
- SpringJUnit4ClassRunner and @ContextConfiguration not found
- Using Parameterized.Parameter in junit 4.13
Related Questions in SELENIUM3
- Selenium 3.0.1 and Firefox 50.0 in headless mode launches browser on visible screen
- How to set verbosity of marionette driver?
- Authentication pop up chrome browser
- Need to wait for finding specific element on loading webpage - selenium 3.141.5 and java 8
- chrome browser not getting launched after changing selenium version to 3.13.0
- JQuery script for iframe is not working with Selenium3
- Run a feature file in different browsers at the same time - Selenium cucumber maven framework
- Can we pass multiple browser names to execute parallelly through command line in Selenium Cucumber Maven framework
- Check with Selenium if browser is open
- NoSuchWindowException - Selenium 3.4.0 - IE 11
- Selenium 3.4.0, FF -53.02 getting org.openqa.selenium.WebDriverException: java.net.SocketException: Connection reset only on firefox browser
- Switch selenium form 2.53.1 to 3.x
- How to get element presence in Boolean type in Selenium 3 (instead of isElementPresent)
- selenium 3.4 with Safari 11 compatibility issues
- WebDriverException: Message: The command 'GET /session/7.../displayed' was not found while Explicit Wait with safaridriver and Selenium 3.13.0
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can have a look at this post and this github project:
Basically, you can use gherkin with qaf to do something like this:
Community NOTE : Since the referenced SO post does not have an accepted or upvoted answer, I could not mark this as duplicate.