Run a test stored in Solution Manager

This task describes how to run tests from UFT. The run results are stored in the location you specify in the file system. You cannot access these results from Solution Manager.

When working with UFT in standalone mode, you run a test stored in a Solution Manager database just like any other UFT test.

Run a test in standalone

  1. Open UFT in standalone mode. For details, see Solution Manager Connection Dialog Box.

  2. In UFT, open the test you want to run. For user interface details, see Open GUI Test from Solution Manager Dialog Box.

  3. Click the Run button or select Run > Run. The Run Dialog Box opens.

  4. Accept the default results folder or browse to select another one.

      Note:
    • The default results folder is created under the folder where the cache (local) copy of your test is stored. You set the location of your Solution Manager test cache folder in the Solution Manager pane of the Options dialog box.

    • When running tests in standalone mode, no Solution Manager log is created.

    • To run the test and overwrite the previous run session results, select the Temporary run results folder (overwriting older temporary results) option.

    • UFT stores temporary run session results for all tests in <System Drive>:\%Temp%\TempResults. The path in the text box of the Temporary run results folder (overwriting older temporary results) option is read-only and cannot be changed.

  5. Click OK. The Run dialog box closes and UFT begins running the test.

    When the run session ends, the run results open (unless the View results when run session ends check box is cleared in the Run Sessions pane of the Options dialog box (Tools > Options > GUI Testing tab > General tab > Run Sessions node).

Run a test from Solution Manager using the Execute Test Script option

For details, see your SAP documentation.

Back to top

View results of a GUI test run in integrated mode

You can view the results of a GUI test that was run from Solution Manager in the following ways:

  • In the Solution Manager Log Display. You can view the results of the test or the results of a specific event, such as a checkpoint, in the Solution Manager log. You can view the folder in which the results are saved in the UNCPathToLocalLog line of the Solution Manager log.

  • In UFT. You can view the run results in the run results, which you can either access from UFT (as separate tab in the document pane) or open directly from your browser.

    If a test includes steps that log on to Solution Manager using the SAP Tab (Record and Run Settings Dialog Box), the logon steps are displayed in the run results tree.

    You can set the Run Results Viewer to open automatically after a test runs from Solution Manager. To do this, in Solution Manager, select the Log Display check box in the Shared tab in Start Options window.

  • Via the generated XML Report. Each time you run a GUI test from Solution Manager, an .xml file is generated. This file contains all details of the run session. To view the file, click the line containing the text: XML-DATA in the Solution Manager log.

Back to top