XPath Examples for QTP Web Objects


QTP XPath examples to identify web objects. XPath is a language for addressing parts of an XML document. Xpath expressions to select nodes or node-sets in an XML document.

Identifying using ID attribute

Identifying using Type attribute

Identifying using Tagname

Identifying using Innertext

Identifying WebTable based on Rowcount


One thought on “XPath Examples for QTP Web Objects

  1. Hi, I’m using xpath with UFT 14.0 but when I use Xpath for the webedit or list box its failing withsyntax error and not accepting the format. is there a setup required in UFT before we can use xpath?

    Regards
    Mmanir

Leave a Reply

Your email address will not be published. Required fields are marked *