Official Content

Defines the main object to use as a test target.


Objects: UI Test
Generators: Android, Apple


Every UI Test object requires a Main Object that indicates the application it is meant to test.

That Main object must be indicated in this property (Test Target), and it is required. 

If not specified, the following error is shown: 

error: Test '<test_name>' has no main target set
error: No main targets found to test

Runtime/Design time

This property applies only at design time.

How to apply changes

To apply the corresponding changes when the property value is configured, execute a Build All.


This property is available since GeneXus 16 upgrade 5.

See Also

Unit Testing

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant