Selenium Java - TestNG Integration
Which of the following is the correct syntax to make
testB depend on testA in TestNG?testB depend on testA in TestNG?dependsOnMethods and it expects an array of method names as strings.@Test(dependsOnMethods = {"testA"}) with the method name in quotes inside braces.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions