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
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- JavaFX build generating a blank gui with primary view and secondary view buttons
- Maven (Java) does not build dependencies into a compiled file
- java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.TagLibraryValidator in Spring-boot jsp application
- I am trying to use h2 in-memory db from my spring boot application, my spring boot version is 3.1.10, but its not connecting to h2 properly
- BeanCreationException when deploying Spring Boot app
- How to run Parallel tests by groups using Maven and TestNG?
- Get control flow information with JaCoCo
- Failed to instantiate [com.docusign.esign.client.ApiClient]
- Gradle - Groovy vs Gradle - Kotlin vs Maven for Java Spring Boot web application project on IntelliJ
- Intelij ultimate and spring boot giving me errors
- Using Eclipse Maven project, import new version of a class from a jar file created from another Maven project
- Messing up with conflict between spring jcl and commons-logging.jar
- Run java program
- How to add a Maven project to an Ubuntu image in Docker
Related Questions in CUCUMBER-JVM
- Problem with generating allure report with cucumber and junit5
- Only run some cucumber tests in parallel and run the rest sequentially using gradle tasks
- Facing issue while running Testcases from runner class in the Cucumber with ObjectFactory with Latest Version of Cucumber
- Run only a certain scenario using maven
- Cannot run testng because ngcucumber failed to run
- how to access cucumber.io report URL programatically after all tests runs
- "Deprecated Main Class" warning when executing Feature file
- Conditional Cucumber Steps class
- all the scenarios are not working from the feature file example table
- Does the @BeforeAll in cucumber runs before spring application context is loaded?
- Similar '@isolated' from cucumber-jvm with cucumber-js
- facing issue in Pactum cucumber undefined error
- Rerun in cucumber junit5
- suddenly get this error io.cucumber.core.exception.CucumberException: Failed to instantiate class stepdefinitions.BasicStepDefs
- Junit5 launcher won't find my Cucumber tests
Related Questions in JUNIT-RUNNER
- Java - Spring and Mockito - Mocking a constructor parameter that is not a field in class?
- Annotation @RunWith(MockitoJUnitRunner::class) is not initializing mocks in Kotlin
- Initialize beans in inner Static test class in springBoot
- Stopping test runner after first failing test
- Excluding Time Duration of @BeforeEach and @AfterEach in JUnit5
- How to create a XML report by executing a JAR
- SpringJUnit4ClassRunner and @ContextConfiguration not found
- Using Parameterized.Parameter in junit 4.13
- Mock config.getInt()
- how to create test suite as in junit 4 using Junit5
- io.cucumber.core.gherkin.FeatureParserException: Failed to parse resource at
- j2objc adding source class dependency for junit test class
- Android: While running test cases: Could not determine the dependencies of task ':app:compileDebugAndroidTestJavaWithJavac'
- io.cucumber.core.exception.CucumberException: Couldn't load plugin class: com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter
- How to run Cucumber Junit runner class in BDD Framework using NetBeans
Related Questions in SELENIUM3
- How to handle login with otp in pytest framework with selenium for parallel test execution.?
- How to get last xpath executed or used by selenium webdriver?
- Selenium TypeError: __init__() got an unexpected keyword argument 'service'
- Check with Selenium if browser is open
- Selenium misses random elements on "Follow" button from a Instagram user followers list
- Locate an element using selenium xpath
- What is a hub in the Selenium grid?
- Would you like to replace the existing file was asked while extracting selenium-server-standalone jar file
- Robot Framework: How to click checkbox by the value attribute
- An error has occurred. See error log for more details. org.eclipse.core.internal.resources.File cannot be cast to org.eclipse.core.resources.IProject
- Mouse hovering action is not happening in selenium and python3
- What Is Selenium And What Is WebDriver?
- Webdriver won't click "Accept cookies" button, throws "ElementNotInteractable" Exception
- Geckodriver Error: Exception in thread "main" java.lang.IllegalStateException: The path to the driver executable must be set by
- JQuery script for iframe is not working with Selenium3
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 # Hahtags
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.