Lecture17: Parallel Execution using TestNG || BDD Cucumber

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

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

  • @anshulsharda4492
    @anshulsharda4492 2 วันที่ผ่านมา

    Is there any way without changing the flag in the runner file every time, we can execute test in sequential or parallel using TestNG.xml file?

  • @amarendrapani6146
    @amarendrapani6146 6 หลายเดือนก่อน +1

    Excelent content or using testng with cucumber , and its really a very great help , bcs in junit i faces a lot of issues while used the bdd framework , and ThreadLocal concept make it easy for parallel cocept. Thank you so much for in depth explanation.

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

    Hi, Can we declare static driver for parallel execution? If you could show your step and hooks implementaions will be good.
    Can you create playlist for all cucumber related videos in the order?
    Thanks.

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

      Hi We can use static but we will have to use thread local to make parallel execution work properly
      cucumber series is completed, this is lecture 17, it is from lecture1 to lecture 18

  • @sachinrai292
    @sachinrai292 4 หลายเดือนก่อน +1

    Hi, Great content. I have a query here, how can we run feature file parallely instead of scenarios with TestNG as my scenarios are dependent on each other, i am facing issue in junit parallel execution.

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

      We generally use junit to run features in parallel
      With testNG feature level parallelization may not be possible I will check and get back to you

    • @sachinrai292
      @sachinrai292 4 หลายเดือนก่อน +1

      @@PrinceAutomationDestination - Ok, My project is in Java Playwright, I tried all possible way to run feature file parallel but it's running sequentially. TestNG is working but scenario wise is not suiting my test run