Converting Individual Manual Test Steps to Keyword Tests

Applies to TestComplete 15.69, last modified on November 13, 2024

The manual testing functionality is deprecated. Do not use it to create new tests. It will be removed from the product in one of the future releases.

TestComplete provides the ability to convert manual test steps with the HTML or XML+XSL content to keyword tests. This topic explains how you can convert an individual manual test step to a new keyword test that will automatically perform actions described in the step. To learn how to convert the entire manual test to a collection of keyword tests, see Converting the Entire Manual Test to Keyword Tests.

During the conversion process, TestComplete displays instructions of the step in the HTML or XML+XSL format in the Step Recording dialog. At the same time, TestComplete records a new keyword test. To convert the manual test step properly, you need to manually perform all its instructions shown in the Step Recording dialog while recording the keyword test.

To convert the manual test step to a keyword test, follow the steps below:

  1. In the Test steps list on the left side of the Manual Test Editor, select the needed test step with the HTML or XML+XSL content.
  2. Click the Convert Current Step to Keyword Test button on the toolbar located above the list.

    -- or --

    Right-click the selected step in the steps list and select Convert Step to Keyword Test from the context menu.

    This will invoke the Step Recording dialog displaying instructions of the selected test step. At the same time, TestComplete will start recording the resulting keyword test and will display the Recording toolbar.

  3. Perform actions described in the Step Recording dialog. All of the actions which you perform relying on the description shown in the dialog will be recorded as keyword test operations.
  4. When all of the needed actions are performed, click the Complete button in the Step Recording dialog or the Stop button on the Recording toolbar to stop recording the keyword test and close the Step Recording dialog.

After the recording is over, TestComplete saves the newly recorded keyword test, assigns it to the converted manual test step and changes the HTML (or XML+XSL) content type of the step to the Keyword Test content type. Since the keyword test is created, it will be run during the manual test execution, and the actions that were specified for the step in the HTML or XML+XSL format will be automatically performed as a keyword test by TestComplete.

See Also

Manual Testing
Converting Manual Tests to Keyword Tests
Converting the Entire Manual Test to Keyword Tests
Using Keyword Tests in Manual Tests

Highlight search results