Click to go to this lesson to create a GUI test. Click to go to this lesson to add steps to your test. Click to go to this lesson about running your GUI test. Click here to go to the lesson on parameterizing test steps. Click here to go the lesson on creating checkpoints and output values. Click here to go to the lesson on creating and using functions in your test. Click here to go the lesson using Insight object identification.

Exercise 2b: Create object repositories using Navigate and Learn

In Exercise 2a: Add objects from the application, you learned how to use UFT to add objects in your application, create a shared object repository for the Login page of the flight reservation application, and associated this object repository with a test.

In this lesson, you will create a shared object repository for each of the remaining pages in the site. You will use the Navigate and Learn process, which enables you to learn all the objects in a page or section of application at once.

Tip: We recommend always creating a separate shared object repository for each section/page of your application or Web site. This makes it easier to find the correct object when adding or modifying test steps or when performing maintenance tasks.

For the purposes of this exercise, you will instruct UFT to learn all of the objects on each page. At this point, you do not need to associate the object repositories with specific actions.

  1. Now that you have created object repositories and associated them with your tests, you can create test steps using these objects.

Next steps: