10 | Cucumber Tutorial | Parallel Execution Using JUnit and Maven Plugins

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 22

  • @jyotipravadas659
    @jyotipravadas659 6 วันที่ผ่านมา

    Is there any repo in git where can we refer to

  • @PriyankaReddy-s1t
    @PriyankaReddy-s1t ปีที่แล้ว

    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

  • @vitaliishemetov609
    @vitaliishemetov609 ปีที่แล้ว

    Thanks. As you mentione the it runs features in parallel. Is there a way to run SCENARIOS in parallel ?

    • @SESHU_BABU
      @SESHU_BABU 5 หลายเดือนก่อน

      by using TestNg we run scenarios parallel

  • @anandp3121
    @anandp3121 ปีที่แล้ว

    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..

  • @duonghuong5738
    @duonghuong5738 ปีที่แล้ว +1

    I do the same but it does not trigger parallel browsers, is there any notices about versions of cucumber, junit or anything?

    • @wasimakram-nz5gq
      @wasimakram-nz5gq ปีที่แล้ว +1

      Even same for me also not trigger browser parallel.. please reply on this.
      Thank you

    • @SaravananSeenivasan
      @SaravananSeenivasan  ปีที่แล้ว

      what error do you get ?

    • @helloramesh6193
      @helloramesh6193 ปีที่แล้ว

      @@SaravananSeenivasan where is the exact repository sir for the above

  • @AbhishekAuti
    @AbhishekAuti หลายเดือนก่อน

    not working. no parallel happening. only single execution happening

  • @sandeeprapolusandeeprapolu
    @sandeeprapolusandeeprapolu ปีที่แล้ว +1

    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

  • @helloramesh6193
    @helloramesh6193 ปีที่แล้ว

    my dear sir where is the exact repository in git hub please give exact parallel testing in git hub

    • @SaravananSeenivasan
      @SaravananSeenivasan  ปีที่แล้ว

      github.com/sseenivasan89/CucumberHybridFramework/blob/main/pom.xml

  • @Al-oh9yr
    @Al-oh9yr ปีที่แล้ว +1

    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
      @SaravananSeenivasan  ปีที่แล้ว +2

      thanks for watching
      here is the repo - github.com/sseenivasan89/CucumberHybridFramework

    • @Al-oh9yr
      @Al-oh9yr ปีที่แล้ว +1

      @@SaravananSeenivasan Thank You very much for the response Sir 😊 I will look through the link 👍Keep up the fabulous work 👍

    • @Al-oh9yr
      @Al-oh9yr ปีที่แล้ว

      ​@@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?

    • @helloramesh6193
      @helloramesh6193 ปีที่แล้ว

      @@Al-oh9yr im unable to find the code in the git hub is it available

  • @sandeeprapolusandeeprapolu
    @sandeeprapolusandeeprapolu 4 หลายเดือนก่อน

    after coming from 9 video this video steps are different and it doesn't work

  • @TinyWorldSukanyasChannel
    @TinyWorldSukanyasChannel ปีที่แล้ว

    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]

  • @AffairWithGeo
    @AffairWithGeo ปีที่แล้ว

    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