Steps - UI / API
**************
1/ Create a Maven Project
2/ Add dependencies under POM.xml [Selenium, TestNG, Cucumber, Extent Reports, POI, RestAssured, Jackson]
3/ Create Pkgs
4/ Create Respective Java files
5/ Create Feature Files
6/ Link feature files with Stepdef files
7/ Add test data, Config files, WebDrivers, Feature files part of test Resources
Execution
*************
1/ POM.xml > CucumberRunner.xml
2/ CucumberRunner.xml [TestNG Xml] mention the JAVA [TestNG JAVA] files path > which will start executing each and every Java file in order provided
3/ CucumberRunner.Java file will execute > Feature files, stepdef files, Extent report will be generated
No comments:
Post a Comment