Using Descriptive Programming inline

Apart from storing TOs in OR, UFT supports using Inline Descriptions (ID), a technique also generally known as Descriptive Programming (DP). As these descriptions are strings, the technique allows for parameterization, and runtime and dynamic identification of objects using data that was predefined or retrieved from AUT during the run session.

Getting ready

Please ensure that the Internet Explorer application is open on Google.

How to do it...

Suppose that we need to identify an object like one of the links on the Google search engine, such as YouTube, then click on it, and navigate back to Google.

Proceed with the following steps:

  1. If we know the values for identification properties (which we can obtain using the ...

Get Advanced UFT 12 for Test Engineers Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.