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 37

Object Identification Using XPath

XPath is XML path language based on a tree representation of the XML document. It is a query language for selecting nodes from XML document. It provides the ability to navigate around the tree by selecting nodes by using a variety of criteria.

With QTP 11, HP has provided the feature to locate GUI objects based on their XPath definition. UFT learns XPath definition automatically while learning an object. It as well provides the flexibility to the user to define custom XPath expressions for identifying objects in UI. As discussed in the chapter Object Identification using source index and automatic xpath, UFT automatically learned XPath is called Automatic XPath. This expression is used in background ...

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