• +91 9723535972
  • info@interviewmaterial.com

QTP Interview Questions and Answers

Question - In QTP how you can use Xpath to identify objects?

Answer -

Xpath can be used to identify only web objects. We can use the following code to identify objects.

Set oPage=Browser(“myGoogle”).Page(“myGoogle”)
oPage.WebEdit(“xpath:=//INPUT[@name=‘nameofeditbox’]”).Set “search term”
‘Enter value in google edit box

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners