Hi Sir, Is there anyway to run scenario in parallel by mentioning the dependency scenario..Say my test2 depends on test1 in feature file..I want to run test2 after test1 is completed..but test3 tes4 can run in parallel with test1..
Make a video on framework development in cucumber with java and testng where we can trigger the execution by tag name as well as parallel execution concept
Hi Sir, new subscriber here. Excellent informative video 👍. Can you please provide the github Url for the same above video parallel execution using JUnit ? I searched in this video description and unable to find exact git hub url for only parallel execution with junit. Thank you very much 😊
@@SaravananSeenivasan Hi Sir, I have cloned and using the same as it is but while execution its not launching the browsers parallelly rather it opens one browser and after completion it opens next browser for execution. Will you be able to help me pls?
Hi, I'm getting this error upon using the plugin that was in the video, can you please let me what was wrong. It didn't trigger any browsers There was an error in the forked process [ERROR] Unsupported TestNG [parallel] setting: classesAndMethods [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process [ERROR] Unsupported TestNG [parallel] setting: classesAndMethods [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:628) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:285) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1203) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1055) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:871) [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:972) [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293) [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:196) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:568) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) [ERROR] -> [Help 1]
Is there any repo in git where can we refer to
Hi Thanks for the info but when i run it is not running in parallel it is running in sequential one by one , can you please on this .
Thanks
Thanks. As you mentione the it runs features in parallel. Is there a way to run SCENARIOS in parallel ?
by using TestNg we run scenarios parallel
Hi Sir, Is there anyway to run scenario in parallel by mentioning the dependency scenario..Say my test2 depends on test1 in feature file..I want to run test2 after test1 is completed..but test3 tes4 can run in parallel with test1..
I do the same but it does not trigger parallel browsers, is there any notices about versions of cucumber, junit or anything?
Even same for me also not trigger browser parallel.. please reply on this.
Thank you
what error do you get ?
@@SaravananSeenivasan where is the exact repository sir for the above
not working. no parallel happening. only single execution happening
Make a video on framework development in cucumber with java and testng where we can trigger the execution by tag name as well as parallel execution concept
thanks for the recommendation
Will do for sure
my dear sir where is the exact repository in git hub please give exact parallel testing in git hub
github.com/sseenivasan89/CucumberHybridFramework/blob/main/pom.xml
Hi Sir, new subscriber here. Excellent informative video 👍. Can you please provide the github Url for the same above video parallel execution using JUnit ? I searched in this video description and unable to find exact git hub url for only parallel execution with junit. Thank you very much 😊
thanks for watching
here is the repo - github.com/sseenivasan89/CucumberHybridFramework
@@SaravananSeenivasan Thank You very much for the response Sir 😊 I will look through the link 👍Keep up the fabulous work 👍
@@SaravananSeenivasan Hi Sir, I have cloned and using the same as it is but while execution its not launching the browsers parallelly rather it opens one browser and after completion it opens next browser for execution. Will you be able to help me pls?
@@Al-oh9yr im unable to find the code in the git hub is it available
after coming from 9 video this video steps are different and it doesn't work
Hi,
I'm getting this error upon using the plugin that was in the video, can you please let me what was wrong. It didn't trigger any browsers
There was an error in the forked process
[ERROR] Unsupported TestNG [parallel] setting: classesAndMethods
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
[ERROR] Unsupported TestNG [parallel] setting: classesAndMethods
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:628)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:285)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1203)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1055)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:871)
[ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:972)
[ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293)
[ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:196)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[ERROR] -> [Help 1]
Please help
I am not able to, execute in parallel mode
tried everything, but nothing
plugin>
org.apache.maven.plugins
maven-surefire-plugin
3.0.0-M5
**/TestRunnerCampaignsPageTest.java
**/TestRunnerCampaignsPageTest.java
methods
true