How does testng allow you to state dependencies?



How does testng allow you to state dependencies?..

Answer / Akhilesh Kumar Awasthi

TestNG allows you to state dependencies using the "dependsOnMethods" and "dependsOnGroups" annotations. With these annotations, you can specify that a test method should only run after another test method or group of methods has completed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

in real time, where do u log defects using selenium?

1 Answers   JPMorgan Chase,


Explain how you can handle frames using selenium 2.0?

1 Answers  


What is selenium 2.0?

1 Answers  


List out the names of programming languages, browsers and operating systems that are supported by selenium.

1 Answers  


What are the uses of findelement() and findelements()?

1 Answers  


What evaluation can selenium do?

1 Answers  


What / supported operating system platforms Selenium?

1 Answers  


What is webdriver wait in selenium webdriver?

1 Answers  


Explain me how to handle alerts in selenium webdriver?

1 Answers  


How do you get the attribute of the web element?

1 Answers  


How to take screenshots in selenium webdriver?

1 Answers  


How to insert a start point in selenium ide?

1 Answers  


Categories