Testing the Application with UFT Before Registering the Testing Agent

In this section, you record a UFT test on the QuickID application. Without the assistance of a Testing Agent, UFT can provide only very generic testing on the QuickID application.

Record a UFT test on the QuickID application:

  1. Open a UFT test.

  2. Run the sample application:

    Browse to the <UFT Testing Extensibility installation folder>\samples\QuickID\<Visual Studio version>\bin folder and double-click the QuickID.exe file.

  3. In UFT, make sure that the Record and run test on any open Windows-based application option is selected in the Record and Run Settings dialog box. Then, start a recording session. For more information, see the Micro Focus Unified Functional Testing User Guide.

  4. Perform the following operations on the QuickID application:

    1. Enter your name in the text box.

    2. Click the down arrow and select a city from the list.

    3. Click the OK button.

    UFT records the operations you perform.

  5. In UFT, stop the recording session. The recorded test steps should look something like this:

    You can see, both in the test and in the object repository, that UFT identifies the application as a standard Windows application, using test objects that match the physical Windows controls.

In the next section, you can see how UFT records the same set of operations when the Testing Agent is registered.