its a common automation framework for web, android , ios and rest apis. The framework can be used both in bdd and hybrid style. The framework supports:
- Android App Automation using appium
- iOS App Automation using appium
- Web Automation using selenium
- Api Automation using rest assured
- BDD Style using cucumber and testng
- Hybrid style using testng
- Framework has Adavanced and configurable Reporting using extent report.
- Framework has Logging using Java inbuilt logging- java.util.Logger.
- Framework uses dependency Management using google Guice library.
- Framework uses testng as a test flow management tool.
- Framework utilizes the common code accross all Ui Platforms.
- Framework can be used to automate any type of web application, mobile/native applications, hybrid Applications , rest apis.
- Framework is built on java 11 , appium server version 1.22.3. For other libraries refer pom.xml.
The base package in src/main is com.yml.framework under that we have following sub-packages.
All the resources including apps,property files,test data should be kept inside src/main/resources .Currently under that we have following sub-directories and files.
Then comes src/test. So all the test-scripts, bdd configurations including features files , step definition classes , cucumber config and reporting properties can be found under this. The base package is com.yml . under that we have following sub-packages and directories.
Then We have 3 testng XML suite files for bdd,hybrid and api
testscripts Can be Executed using following ways.