Configuration of test runs from the Functional Test perspective

When you created functional tests, you must configure the run of the recorded functional tests from the Functional Test perspective before you can view the test results.

You can run functional test scripts as part of your automated testing. See Running scripts. You can run scripts as part of any of the following test phases:

Prerequisites for functional test runs

You must have recorded test scripts in the Functional Test perspective of HCL OneTest UI. See Testing with Functional Test perspective.

Before you can configure a test run of a functional test, you must ensure that the application-under-test is in the same state that it was in when you recorded the script. See Restoring the test environment before playback.

You can configure how unexpected windows are to be handled so that scripts can be played back smoothly without interruption. See Configuring how to handle unexpected windows during playback.

If changes are made to the application-under-test after it was recorded, there might changes in the object hierarchy when you run such a test. You can avoid test failures by performing any of the following tasks:

If there are multiple instance of the applications under test, which might cause HCL OneTest UI to not identify the correct application, you can prevent or enable HCL OneTest UI to deal with this ambiguous recognition situation. See Ambiguous object recognition in functional testing.

Monitoring functional test runs

You can find information about monitoring test runs of a functional test:
  • You can use the playback monitor to view the test details as the test is played back. See Playback Monitor.
  • When you want to pause or stop the play back at any time after you started a run of the recorded script, you can pause or stop the test run. See Pausing or stopping script playback.

Running functional tests

You can find information about the following tasks that you can configure and run from the Functional Test perspective:

Analyzing test runs

After you run tests from the Functional Test perspective, you can perform the following tasks to debug or view the steps that failed in the test run: