Interview Questions

Selenium WebDriver - What are the different attributes for @Test annotation ?

Selenium WebDriver Interview question and Answers


(Continued from previous question...)

Selenium WebDriver - What are the different attributes for @Test annotation ?

alwaysRun, dataProvider, dependsOnMethods, enabled, expectedExceptions, timeOut etc.

ex- @Test(expectedExceptions = ArithmeticException.class) @Test(timeOut = 2000)

ex- @Test(expectedExceptions = ArithmeticException.class)

@Test(timeOut = 2000)

(Continued on next question...)

Other Interview Questions