UI testing of Smart Devices Applications is available using native GeneXus programming, through a specific object in the GeneXus IDE called UI Test object.
Consider the following UI Test for Smart Devices object:
The variable named &app is autogenerated and provides automation capabilities over the target device. It is based on the UITestSD External Object.
The UITestSD external object is responsible for implementing the adaptation layer over the device. It has several methods for actions and verifications to be made in the UI Test.
The following property must be set in order to build and run this type of objects:
- Test Target property of the UI Test for Smart Devices object. It indicates the main object of the SD application to be tested. In the example: "MainSD"