This repository demonstrates the usage of ShaftEngine for automated testing with TestNG for Appium Project setup. The tests utilize the Page Object Model (POM) design pattern, and the test execution is parallelized using ThreadLocal to ensure thread safety across test methods.
src/main/java
:- Page Object Classes: Contains classes representing the UI elements on the pages and methods to interact with them.
src/test
:- AppiumSampleTests:
TestClass
containing the Demo
- AppiumSampleTests:
src/test/resources/testDataFiles
:- Test Data JSON: A sample
TestData.json
Data File that you can add the Test Data to it and call them in your Tests - ApiDemos-debug.apk: A sample
apk
to serve as AUT (Application Under Test)
- Test Data JSON: A sample
The repository uses ShaftEngine for browser automation
Ensure you have the necessary dependencies in your pom.xml
(for Maven)
For more Information visit the following: