hi sir, @PrinceAutomationDestination can you help me in which video you exoalined ThreadLocal Concepts ,Please share me the link ,it would be a great help.
can we used like below as I haven't implement Factory designed pattern : public void setDriver(String browser) { switch(browser) { case "chrome": WebDriverManger.chrome().setup(); driver.set(new ChromeDriver()) break; default: throw new IllegalArgumentException(" "); }
} public WebDriver getDriver() { return driver.get() }
I am not using testng... u explain in this video my project is same cucumber maven and junit 4.13. I follow the same way but there is some issue with plug-in. Pls help me to resolve.
hi sir,
@PrinceAutomationDestination can you help me in which video you exoalined ThreadLocal Concepts ,Please share me the link ,it would be a great help.
th-cam.com/video/VQxmrurav5U/w-d-xo.html
@ thank you so much for reply it’s a great help 🙏❤️
can we used like below as I haven't implement Factory designed pattern :
public void setDriver(String browser)
{
switch(browser)
{
case "chrome":
WebDriverManger.chrome().setup();
driver.set(new ChromeDriver())
break;
default:
throw new IllegalArgumentException(" ");
}
}
public WebDriver getDriver()
{
return driver.get()
}
Yes it should work but driver should be thread local
Do you have public code repo for this tutorial?
Please find below the same github.com/prnbtr09/bdd-cucumber.git
what about JSON report , will it be thread safe ? I mean will it create report for parallel execution.
Yes please checkout, hope you are talking about cucumber json report? Or i will check and get back to you
I am not able to achieve parallel testing by these tags..pls help me how to do
Checkout following video and let me know
th-cam.com/video/g3BGOmmkzpQ/w-d-xo.html
I am not using testng... u explain in this video my project is same cucumber maven and junit 4.13. I follow the same way but there is some issue with plug-in. Pls help me to resolve.
@@saanviworld88 ping me on linkedin
Nice explanation
Thanks Priyanka
Why you are still using junit4 instead of junit5? 🤔
Please continue with series , i have introduced TestNg post discussion of junit 4 challenges and soon will plan for junit5 too thanks 🙏🏼