1. What is Assertion and how to put assertion?
2. Priority attribute - The priority for this test method. Lower priorities will be scheduled first.
3. default priority, assigning priority, - ve priority value
4. description attribute – The description for this method.
5. What happens when a Test method fails
6. dependsOnMethods – The list of methods this method depends on.
7. dependsOnGroups - The list of groups this method depends on.
8. How to ignore tests – test, class and package level
enabled – true/false
9. alwaysRun- If set to true, this test method will always be run even if it depends on a method that failed.
10. invocationcount - The number of times this method should be invoked.
11. @Test at Class Level
SUBSCRIBE:
About this channel:
This channel is dedicated to Software Testing, Automation Testing, Devops, Agile and TestNG, Maven, Jenkins, Git, Github, RPA, Agile, Devops, Database, Domain and many more.
Please Subscribe this channel and press bell icon to get some interesting topics on Java and Selenium and other tools.
Please check out my blog here:
Follow Facebook Page
Follow me on instagram
0 Comments