React.js
Angular
Ethical Hacking
Agile
AWS
BlockChain
Cassandra
Cloud
Salesforce
Scaled Agile
TOGAF
DevOps
GIT
Jenkins
Jira
Kibana
Linux
NGINX
Ansible
Artificial Intelligence
in QuickTest Professional (QTP) by

In QTP how you can use Xpath to identify objects?

Click here to read more about DevOps

1 Answer

0 votes
by

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

Here you can get 3 Questions bonus :-)

Related questions

Madanswer
0 votes
asked Jan 14 in QuickTest Professional (QTP) by GeorgeBell
0 votes
asked Apr 25 in QuickTest Professional (QTP) by Robindeniel
...