Automation Question:

Explain me what kinds of annotations are used in TestNG?

Automation Interview Question
Automation Interview Question

Answer:

The following kinds of annotations are used in TestNG:

☛ Test
☛ BeforeSuite
☛ AfterSuite
☛ BeforeTest
☛ AfterTest
☛ BeforeClass
☛ AfterClass
☛ BeforeMethod
☛ AfterMethod


Previous QuestionNext Question
Explain me how to execute JavaScript in Selenium?Tell me what are the different types of navigation commands?