Appium – Single test strategy
Appium Single Test Strategy:
When should you create single test suite for both iOS and Android testing?
- Responsive Web app testing for Mobile
- Native iOS/Android apps are identical
How to create STS?
- Initialize objects based on device platform
- Two approach’s on determining device platform by sauce
- Use Page factory with POM
- Use annotations for identifiers in PO classes
- See example provided by sauce
- Example: appium-cross-platform-example
- Blog on STS approach: appium-automation-with-one-script
- Medium article on using webdriver.io