How to Execute the Feature File in Parallel Using Cucumber
In this video, I explained how to execute the feature file in parallel using JUnit and maven sure fire plugin. Code is placed here: www.automationf...
Жүктеу.....
Пікірлер: 42
@laxmi56394 жыл бұрын
This really helped me in understanding Parallel Test execution using JUnit. Thanks much Sir, very well explained.
@automationfraternity7332
4 жыл бұрын
Glad it helped!
@vaishalimishra4713
3 жыл бұрын
@@automationfraternity7332 I tried with this approach but still not successful. Could you please help me in resolving my issue
@DeepeshNagpal
3 жыл бұрын
@@vaishalimishra4713 I suggest you to run it through maven test not by maven build. it worked for me.
@abhilash6200
2 жыл бұрын
@@vaishalimishra4713 hi I am also facing UNABLE TO locate element from the first opened browser window... Did u get any luck on this
@user-ef1og4lj2l9 ай бұрын
It is not taking p parallel execution with surefire plugin. Can someone tell which version of the plugin does the needful?
@priya2312310 ай бұрын
I have special task where features will be kept in separate folders and we need to execute that folders parallel but features inside sequential
@jayabalvelusamy70683 жыл бұрын
Simple explanation
@m8rix993 жыл бұрын
how to use page object model in parallel tests ? The driver can't be a static object ? I just wanted to write a click function to use across the framework . Thank you for this tutorial
@anjudasvs9329 Жыл бұрын
Thread control not fixed
@pragyAnsh4ever Жыл бұрын
Can we not do this using testNG? running feature files in parallel?
@automationfraternity7332
3 ай бұрын
Check the new series here. kzread.info/head/PLBiGKr76xSBCM6bZaddB-ieRYQAStN1yM github.com/akashdktyagi/test-automation-project-amazon-10may2024.git
@abhilash62002 жыл бұрын
Hi when I was running parallel execution elements are not being indentified and throws error how to overcome this
@victorious_2230 Жыл бұрын
But at last it launched 4 browsers,how to controll browser launch only two?
@tangeokgeok90964 жыл бұрын
i have a query too, when the maven build is sucessful, it does not load the browser. any idea how to overcome this issue?
@sumanthvas94 жыл бұрын
I have a query here .. when you are running the project with maven build, how pom.xml is knowing from where to select RunTest class ?
@pravinrasal44312 жыл бұрын
Hello, can you please let me know how I can do it using gradle. Can you send it create other video using gradle.
@svenv322 жыл бұрын
how do you do this for appium java mobile automation ?
@swatishreemohanty79793 жыл бұрын
Hi Sir, I have gone through the same step in video but parallel execution is not happening .it is taking sequential
@priyankatripathi8773 жыл бұрын
Hi, Thanks for sharing this video, Actually in my project I need to implement parallel execution for cucumber and having no prior exp in same i am facing difficulty, can you please help me with that if possible?
@user-ff3vy3wb5v6 ай бұрын
My build is success but it's not open any browser.. plshelp
@automationfraternity7332
3 ай бұрын
Check the new series here. kzread.info/head/PLBiGKr76xSBCM6bZaddB-ieRYQAStN1yM github.com/akashdktyagi/test-automation-project-amazon-10may2024.git
@dibakardey60974 жыл бұрын
is it possible to execute tags in parallel
@automationfraternity7332
4 жыл бұрын
Cucumber relies on Maven fail safe/ Sire fire to execute tests in parallel and that to feature file parallel execution is possible. tags can be used to filter out what needs to be executed; irrespective of parallel or sequential.
@happyhuman96253 жыл бұрын
Loved the explanation sir, How to proceed if we should do a single login and perform multiple test cases....Suggestions will be very helpful sir..Thanks in advance
@Biswamber_Khandei
2 жыл бұрын
Create a separate method for login and use background keyword l
@obuleshqa3193 жыл бұрын
@automation Fraternity: I have query like, we have feature1, feature2 folders, In two folders we have feature files. So how to execute feature1 files in one browser and feature2 files in another browser parallel.
@VermaAman
3 жыл бұрын
You need to pass a parameter and in the before function you can implement this functionality
@shreedeevi28002 жыл бұрын
Hi sir, can you tell how to execute first or last or specific n no. Of feature files. Like if I have 10 feature files and I want to execute 6 out of them. How can I do that
@ssarra99
Жыл бұрын
Use tags in feature files
@kalpeshahirrao76112 жыл бұрын
hello , I am using the below code under surefire plugin and my CPU is having 4 cores 2 false I have 3 feature files and in total 7 scenarios, when I am running the test it is opening 7 browser instances instead of 2 Can anyone help to understand how this works?
@longnguyenvan1125
2 жыл бұрын
threadCount = 2 means it will run all features, in 2 parallel threads. It is not scenario number or file features.
@user-yb2fc1ur6g3 жыл бұрын
Its not executing in parallel mode when i am running features from command line using mvn test ..its is executing in parallel mode successfully when I am running from RunTest.java class....I have added the surefire plugin as below ....pls let me know is there anything need to be added... org.apache.maven.plugins maven-surefire-plugin 3.0.0-M5 methods true 10 false
@manikantan24574 жыл бұрын
Hi sir Kindly make a video on Parallel Testing for Feature Files based on Tags for BDD Framework with Appium..
@vasundharaprakashreddy27404 жыл бұрын
Hi sir, can u pls provide git link
@VermaAman
3 жыл бұрын
github.com/akashdktyagi/AutoFratCommonLib
@varnitachaudhari41443 жыл бұрын
Hi Sir, I have gone through the same step in video but parallel execution is not happening .it is taking sequential
@varnitachaudhari4144
3 жыл бұрын
Got a solution Sir thanks.... there were some version
@WarSnipeX
3 жыл бұрын
@@varnitachaudhari4144 what changes you made i am also facing same issue
@martinspies2695
3 жыл бұрын
@@varnitachaudhari4144 could you explain which changes you made? I'm facing the same issue
@DeepeshNagpal
3 жыл бұрын
@@martinspies2695 I suggest you to run it through maven test. It worked for me.
Пікірлер: 42
This really helped me in understanding Parallel Test execution using JUnit. Thanks much Sir, very well explained.
@automationfraternity7332
4 жыл бұрын
Glad it helped!
@vaishalimishra4713
3 жыл бұрын
@@automationfraternity7332 I tried with this approach but still not successful. Could you please help me in resolving my issue
@DeepeshNagpal
3 жыл бұрын
@@vaishalimishra4713 I suggest you to run it through maven test not by maven build. it worked for me.
@abhilash6200
2 жыл бұрын
@@vaishalimishra4713 hi I am also facing UNABLE TO locate element from the first opened browser window... Did u get any luck on this
It is not taking p parallel execution with surefire plugin. Can someone tell which version of the plugin does the needful?
I have special task where features will be kept in separate folders and we need to execute that folders parallel but features inside sequential
Simple explanation
how to use page object model in parallel tests ? The driver can't be a static object ? I just wanted to write a click function to use across the framework . Thank you for this tutorial
Thread control not fixed
Can we not do this using testNG? running feature files in parallel?
@automationfraternity7332
3 ай бұрын
Check the new series here. kzread.info/head/PLBiGKr76xSBCM6bZaddB-ieRYQAStN1yM github.com/akashdktyagi/test-automation-project-amazon-10may2024.git
Hi when I was running parallel execution elements are not being indentified and throws error how to overcome this
But at last it launched 4 browsers,how to controll browser launch only two?
i have a query too, when the maven build is sucessful, it does not load the browser. any idea how to overcome this issue?
I have a query here .. when you are running the project with maven build, how pom.xml is knowing from where to select RunTest class ?
Hello, can you please let me know how I can do it using gradle. Can you send it create other video using gradle.
how do you do this for appium java mobile automation ?
Hi Sir, I have gone through the same step in video but parallel execution is not happening .it is taking sequential
Hi, Thanks for sharing this video, Actually in my project I need to implement parallel execution for cucumber and having no prior exp in same i am facing difficulty, can you please help me with that if possible?
My build is success but it's not open any browser.. plshelp
@automationfraternity7332
3 ай бұрын
Check the new series here. kzread.info/head/PLBiGKr76xSBCM6bZaddB-ieRYQAStN1yM github.com/akashdktyagi/test-automation-project-amazon-10may2024.git
is it possible to execute tags in parallel
@automationfraternity7332
4 жыл бұрын
Cucumber relies on Maven fail safe/ Sire fire to execute tests in parallel and that to feature file parallel execution is possible. tags can be used to filter out what needs to be executed; irrespective of parallel or sequential.
Loved the explanation sir, How to proceed if we should do a single login and perform multiple test cases....Suggestions will be very helpful sir..Thanks in advance
@Biswamber_Khandei
2 жыл бұрын
Create a separate method for login and use background keyword l
@automation Fraternity: I have query like, we have feature1, feature2 folders, In two folders we have feature files. So how to execute feature1 files in one browser and feature2 files in another browser parallel.
@VermaAman
3 жыл бұрын
You need to pass a parameter and in the before function you can implement this functionality
Hi sir, can you tell how to execute first or last or specific n no. Of feature files. Like if I have 10 feature files and I want to execute 6 out of them. How can I do that
@ssarra99
Жыл бұрын
Use tags in feature files
hello , I am using the below code under surefire plugin and my CPU is having 4 cores 2 false I have 3 feature files and in total 7 scenarios, when I am running the test it is opening 7 browser instances instead of 2 Can anyone help to understand how this works?
@longnguyenvan1125
2 жыл бұрын
threadCount = 2 means it will run all features, in 2 parallel threads. It is not scenario number or file features.
Its not executing in parallel mode when i am running features from command line using mvn test ..its is executing in parallel mode successfully when I am running from RunTest.java class....I have added the surefire plugin as below ....pls let me know is there anything need to be added... org.apache.maven.plugins maven-surefire-plugin 3.0.0-M5 methods true 10 false
Hi sir Kindly make a video on Parallel Testing for Feature Files based on Tags for BDD Framework with Appium..
Hi sir, can u pls provide git link
@VermaAman
3 жыл бұрын
github.com/akashdktyagi/AutoFratCommonLib
Hi Sir, I have gone through the same step in video but parallel execution is not happening .it is taking sequential
@varnitachaudhari4144
3 жыл бұрын
Got a solution Sir thanks.... there were some version
@WarSnipeX
3 жыл бұрын
@@varnitachaudhari4144 what changes you made i am also facing same issue
@martinspies2695
3 жыл бұрын
@@varnitachaudhari4144 could you explain which changes you made? I'm facing the same issue
@DeepeshNagpal
3 жыл бұрын
@@martinspies2695 I suggest you to run it through maven test. It worked for me.