Advertisement

Selenium WebDriver | Part40 | Different Attributes in TestNG | TestNG Assertions |Priority in TestNG

Selenium WebDriver | Part40 | Different Attributes in TestNG | TestNG Assertions |Priority in TestNG In this video, we will discuss about following points:
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

Selenium WebDriver,Selenium WebDriver Tutorial,Automation Testing,TestNG tutorials,different attributes in TestNG,Assertion in TestNG,Set Priority in TestNG,description attribute,dependsOnMethods,dependsOnGroups,How to ignore tests,enabled attribute,alwaysRun,invocationcount,

Post a Comment

0 Comments