Smartbear TestComplete 11 and Uniface 9.7 MSAA API configuration steps

 

A default installation of TestComplete  will not recognize Uniface 9.7 MSAA objects (Editbox, Checkbox).

In the usys.ini, MSAA accessibility has been enabled:

[upi]

Accessibility= TestMode

In TestComplete a default Test project was created and the parameters for the tested application (idf.exe) were defined.

MSAAB1_J

 

A simple Uniface 9.7 test form looks like this:

MSAASB2

 

The test form is started in idf test mode

MSAASB3

 

When checking the Uniface fields of the test form in the TestComplete Object Browser, the field names show with general Windows Object names (Edit, Button ) instead of the Uniface unique technical names (FieldName.EntityName.ModelName.OccurrenceIndex).

MSAASB4

 

The reason is that Windows classes that TestComplete will recognize as MSAA objects need to be manually added to the project properties, they are not there by default.

For more information see https://support.smartbear.com/viewarticle/74648.

Following the steps described in the article, you need to open your Project Workspace and go to ‘Properties‘, ‘Open Applications‘, ‘MSAA‘ and add the Uniface Windows classes that represent the field widgets to the list of accepted MSAA windows.

MSAASB5

 

Alternatively, you can enable the MSAA wildcard (*) option.

MSAASB7

 

The TestComplete Object Browser now shows the unique Uniface technical names for the supported field widgets in the format:

FieldName.EntityName.ModelName.OccurrenceIndex

MSAASB6

 

For more information about the Uniface 9.7 MSAA API, see topic ‘MSAA’ in the Uniface 9.7 ulibrary

For more information about TestComplete, please refer to http://smartbear.com/product/testcomplete/overview/