Highlighting and Locating the Test Object in Object Repository

Highlighting a Object in the Object Repository

You can highlight a test object in your object repository in the application you are testing. When highlighting a test object, Quicktest indicates the selected object's location in your application by temporarily showing a frame around the object and causing it to flash briefly. The application must be open to the correct context so that the object is visible.

highlight1.jpg

How to highlight an object in your application

  1. Open your application to the correct window or page.
  2. Highlight the test object you want from your object repository.
  3. Select View-Highlight or click the highlight button in application. The selected object is highlighted with a border in the application:

    highlighted 3.JPG

Highlighting the object in the application:

highligh2.jpg


Locating a Test Object in the Object Repository


We can locate a test object in the object repository by selecting it from the application. For example, to locate an image of Find a Flight in a Web Page, you can select it in your web page using the pointing hand. After selecting the Find a Flight image object from the selection dialog box, then click OK, then the parent hierarchy tree expands in the object repository and the Find a Flight image test object is highlighted.


test1.jpg

How to locate an test object in the object repository
  1. Open the application in the correct window or page.
  2. Select View-Locate in the Repository or click the Locate in Repository button. Quicktest is hidden and the pointer changes into a pointing hand.
  3. Use this pointing hand to click on the required object in your application, if the location you clicked is associated with more than one object, then the select an Object dialog box opens.
  4. Select the object you want to locate in the object repository and click OK. The selected object is highlighted in the object repository.

locate2.JPG

                              Locating an Object in Object Repository