This topic provides information about the sample WPF test applications and scripts provided for Ultimate UI for WPF controls.
This document contains the following sections:
The sample test applications and scripts of Test Automation for Micro Focus WPF provide a quick overview of the important user actions that can be automated and reproduced. The tests invoke the corresponding WPF application to perform the automated test.
The tests are installed by default in the Samples folder. Their default location is C:\Users\Public\Documents\InfragisticsTest Automation for Micro Focus WPF UFT 21.1\Samples\CLR4.0\Scripts\.
Each script is set up to automatically load its sample application from the Samples\Bin folder prior to running.
The table below briefly explains the samples available with the Test Automation for Micro Focus WPF.
To be able to perform the procedure, you need the following:
.NET and WPF extensions enabled on the Micro Focus Unified Functional Testing software
The version of Test Automation must match the version of Infragistics
With the Micro Focus Unified Functional Testing software running, open and run the script to open the sample application, and perform a test on the application’s interface.
To run a script:
Start the Micro Focus Unified Functional Testing application
Run the test.
Open the test. In the application, from the File* *menu*, choose* *Open* and then browse the folders structure to open the test’s QuickTest file. The test script loads in the Micro Focus Unified Functional Testing Expert View editor.
Start the test. In the test’s interface, click the Run button to start the execution of the automated test. The execution of the automated test begins.
Verify the result. After successful execution of the test, check the result in the UFT Run Results Viewer .
Note: The tests reside in the following folder: C:\Users\Public\Documents\InfragisticsTest Automation for Micro Focus WPF UFT 21.1\Samples\CLR4.0\Scripts\
The table below lists other topics you may find useful.