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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.