O'Reilly logo

Agile Automation and Unified Funtional Testing by Rajeev Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 36

Object Identification Using Source Index and Automatic Xpath

UFT learns source index and automatic xpath of an object automatically, if configured. These object identification properties are not visible in the object repository; hence users cannot edit or modify them. During test run, UFT uses these properties first to locate the object in UI.

SOURCE INDEX

Source Index is a zero based integer value which represents the position of the element among all elements in HTML document. UFT learns this property automatically when learning the object description. However, this property is hidden in object repository; hence, users cannot edit or modify the value of this description property.

Retrieving Source Index Value of Test and Run-time ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required