Software Testing & QA (50 Qs)•Part 3: Advanced Internals, Scale & Production Quality (Senior / Lead)
Mobile App Automated Testing: Appium vs Maestro.
senior LevelCode ExampleTesting
In Simple Words: Automating native iOS and Android user interaction:
- Appium (Legacy): Uses the WebDriver protocol. Heavy setup, slow execution, brittle XPath locators, and requires complex server daemons.
- Maestro (Modern Native Mobile Automation):
- Declarative YAML test definitions:
yaml
appId: com.mycompany.app --- - launchApp - tapOn: "Sign In" - inputText: "user@example.com" - assertVisible: "Dashboard" - Built-in automatic waiting, tolerance to animation delays, and fast execution across iOS Simulators and Android Emulators.
- Declarative YAML test definitions: