Adding a test object to an object map and a script

HCL OneTest™ UI enables you to add a test object to an object map and a script at the same time.

Procedure

  1. Start the application that contains the controls you want to test.
  2. In the script, position the cursor where you want to add the test object.
  3. In the product toolbar, click the Insert Test Object into Active Functional Test Script button Insert Test Object into Active Functional Test Script. HCL OneTest UI opens the Select an Object dialog box .
  4. Click the Object Finder icon Object Finder and drag it to the application over the object that you want to add to the object map and the script.
  5. Click Finish. HCL OneTest UI inserts the object at the cursor location in the script and displays a list of possible methods for the object. HCL OneTest UI also adds the object to the test object map associated with the script.
  6. Double-click the method you want to use.
Feedback