Demos
Demonstrating Keysight Eggplant Testing on an Android Mobile Device
In this demo, we showcase the powerful capabilities of Keysight Eggplant for automated UI testing on an Android mobile device. The setup includes a physical Android device connected to a computer, controlled via Eggplant, to automate various tasks without manual intervention. This approach leverages image recognition and optical character recognition (OCR) to interact with the device, making it independent of the underlying source code and capable of automating any application installed on the device.
Key Functionality and Capabilities
1. Image Recognition and OCR
Eggplant Test uses advanced image recognition to identify UI elements on the screen and OCR to read on-screen text. This allows the tool to send keyboard, mouse, and mobile touch commands based on visual cues, ensuring comprehensive testing from the user’s perspective.
2. Scriptless Automation
The demo highlights how Eggplant Test can automate tasks in third-party applications like WhatsApp without access to the source code. By relying on UI elements, the tool can perform actions such as initiating and ending video calls purely through visual cues.
3. Mixing Visual and ADB Commands
Eggplant Test supports a hybrid approach, combining visual testing with Android Debug Bridge (ADB) commands. This flexibility is demonstrated by automating the enabling and disabling of airplane mode using ADB commands and visual interactions, showcasing the tool’s versatility in handling different testing scenarios.
4. Cross-Platform and Multi-Device Testing
The demo also illustrates Eggplant Test’s ability to integrate multiple devices and platforms. For instance, a two-factor authentication process is automated by interacting with both a Windows 10 system and an Android device. The script logs into GitHub on the Windows system, retrieves a verification code from the Android device, and completes the login process, demonstrating seamless cross-platform automation.
5. Security and Efficiency
Eggplant Test ensures secure handling of sensitive information, such as encrypted passwords, which are decrypted only during the testing process and not logged anywhere. This feature, combined with the tool’s ability to create scripts quickly and efficiently, makes it a robust solution for automated UI testing.
By leveraging these capabilities, Keysight Eggplant Test provides a comprehensive and flexible solution for automated UI testing on Android devices. Its ability to mix visual and ADB commands, handle cross-platform interactions, and ensure secure and efficient testing makes it ideal for ensuring a smooth and seamless user experience across various applications and devices. This demo underscores the tool’s potential to enhance testing processes, reduce manual effort, and improve overall software quality.
What are you looking for?