Welcome to SSR Software Testing Training
TestNG Framework
- Framework
- Details of TestNG
- Features of TestNG
- How to install in 1.Java Project 2.Maven Project
- How to create TestNG class file
- Details of Annotations
- How to Run TestNG class file
- Output reports:1.index.html 2.emailable-report.html
- Sequence of execution of annotations
- @Test annotation attributes: 1.enabled 2.priority 3.groups 4.dependsOnMethods 5.dependsOnGroups 6.timeOut 7.invocationCount 8.description
- Compare Expected Result and Actual Result by using Assert class methods
- TestNG Listeners by using ITestListener interface:1.onTestStart() 2.onTestSuccess() 3.onTestFailure() 4.onTestSkipped() etc
- Creating testng.xml and Running testNG files
- Test Suite Run by XML file
- Groups run by XML file
- Parameterization,Passing values from XML to variable of TestNG class file by using @Parameters() annotation and parameter tag
- Use of @Factory annotation
- Use of @DataProvider annotation
- Regression and Cross browser suite by using TestNG from work
- Data Driven Testing by using @DataProvider annotation
Back