Hi Katalon Community,
I’m facing an issue with my Android automation using Katalon Studio + Appium and would appreciate some guidance.
The same test cases and same automation code are working successfully on multiple Android POS devices, but when I execute them on an Android Tablet, some of the test cases fail.
Environment
- Automation Tool: Katalon Studio
- Automation: Appium
- Platform: Android
- Application: Android POS application
- Devices: Android POS devices and Android Tablet
- Test Cases: Same test cases
- Automation Code: Same code
- Application Build: Same build
Current Behavior
The automation works as expected on the Android POS devices.
I have tested the POS application automation on multiple Android versions/devices, and the test cases are working fine.
However, when I execute the same test cases on the Android Tablet, some test cases fail.
So the issue appears to be specific to the tablet environment rather than the test case itself.
What I would like to understand
Could anyone help me understand what could cause the same Katalon/Appium test case to behave differently between an Android POS device and an Android Tablet?
For example, could differences such as:
- Screen size
- Screen resolution
- Screen density/DPI
- Device configuration
- Android UI rendering
- Element hierarchy
- Jetpack Compose UI behavior
- Appium element detection
- Synchronization/timing
- Orientation
- Tablet-specific application layout
cause the same automation to pass on a POS device but fail on a tablet?
My Questions
- What are the main things I should compare between the working POS device and the failing tablet?
- How can I identify whether the issue is related to element identification, UI layout, Appium, or Katalon?
- Is there any recommended approach in Katalon for running the same Android automation across different screen sizes and device types?
- Are there any specific Katalon/Appium capabilities or settings that should be checked when executing on tablets?
- What logs or information should I collect from the tablet to identify the root cause?
I am not using coordinate-based actions in my automation.
The same POS application and automation framework are already working across multiple Android POS devices/versions. The problem occurs when running the same automation on the tablet.
I can provide the following if required:
- Katalon Studio version
- Appium version
- Android version
- POS device details
- Tablet model/details
- Screen resolution and DPI
- Appium Inspector element hierarchy
- Katalon execution logs
- Appium server logs
- Screenshot/video of the failure
- Failing test case and locator details
Any suggestions on how to troubleshoot this difference between the POS device and tablet would be greatly appreciated.
Thank you!