Automation For Mobile Application Testing
Agenda Know The Challenges Approach App
Know The App Type of Application: Native, WebApp or Hybrid. Roadmap for the application. Intended audience. Green platforms and devices. Mobile networks.
Know The App :WHY Idea to focus on the type of testing. To isolate the tools that you require. To accelerate testing to the pace of development. Reduce the number of dimensions to test. Limit the effort for manual testing.
Challenges Mobile Testing complexity = O( Platforms * Hardware * devices*networks) No single tool to automate all dimensions. Compatibility with existing systems.
Approach
Basic Test Checklist Functional. Installation/provisioning. Performance. Usability. Security. Conformance.
Appium Retro fit our current harness Open source and easy to extend to multiple OS. OS independent. Standard automation API and no need to modify the app. Flexibility of using multiple programming languages. Automate installation of APK on multiple clients. SelAndriod for support of prior Andriod releases. Ability to run on emulators and also real devices
Current harness
Clients S E Appium L Server/Emulator I N Appium I Server/Emulator U MVN JSONP M TestNg Appium WebDriv Server/Emulator G er R Tests I Appium D Server/Emulator Appium Server/Emulator Running both Appium server and Emulator on same client vm. Leverage TestNG tagging mechanism and grouping to run OS specific tests. Auto install apk as part of setup, helps in automating installation and provisioning. E2E tests automated using Appium and API tests using home grown harness.
Device Farm Replace vms with devices. Test app to collect system data on devices during execution.
Limitations Manual start of emulators. No support for all selenium APIs. Only basic support for xpath, identify element by content description. Some functions available only on IOS. Flows tested, but features like touch, and usability still open.
Beyond Acceptance Little Eye/UTest for performance and load Rounds of manual testing for usability. Contextual keyboard testing. Security testing. Network simulation for testing app performance.
Recommend
More recommend