Introduction to UI Test for Smart Devices Automation

Official Content
This documentation is valid for:

UI testing of Smart Devices Applications is available using native GeneXus programming, through a specific object in the GeneXus IDE called UI Test object

For example:

Consider the following UI Test for Smart Devices object:

image_20191024165445_1_png

The variable named &app is autogenerated and provides automation capabilities over the target device. It is based on the UITestSD External Object.

image_20191024165624_1_png

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.

image_2019123143118_1_png

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"

Build & Run the UI Test

image_2019123142533_1_png

Or

image_2019123142653_1_png

Sample

KG GxTestSample