Question & Answer
Question
Can you generate Android SDK-based UI tests for automated Worklight application testing using the Android plug-in for IBM UrbanCode Deploy?
Cause
Android native applications and Worklight applications use different methods to manage the user interface (UI) and user experience (UX).
Android native applications (as well as iOS applications):
- Descriptor files, such as layout_main.xml
- Code, such as Java
Worklight (and hybrid) applications:
- Descriptor files, such as HTML and CSS
- Code, such as JavaScript
Answer
You cannot use Android tools to test Worklight applications.
Worklight projects are "websites" that are served from files on the disk of the device, rather than over the Internet from a server. There is no tool that can automatically convert a Worklight project to an Android project.
The Android UI testing tools, such as the Android uiautomater testing framework, do not apply to Worklight applications. You can use any of the standard website testing techniques and tools to test Worklight applications.
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21666817