Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
When i use xpath in OR in QTP 11, its not working
#1
Not Solved
Hi

I have added an object in OR,
now i have added the property xpath and given the xpath

The Xpath which i gave is working fine in FireFox - FirePath
But its not working in QTP to identify the Object.

Can some one give me the solution or their experience.

Note:
I have used the below xpath
"//tr[contains(@valign,'top')]/td[3]/span[Contains(text(),'Home Departments')]/../../td[1]/img[contains(@src,'icon')]"

Thanks in advance

This working fine for some ... and not working for some ...specially this one ("//tr[contains(@valign,'top')]/td[3]/span[Contains(text(),'Home Departments')]/../../td[1]/img[contains(@src,'icon')]"

)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP has stopped working kotaramamohana 11 19,500 12-28-2016, 10:55 AM
Last Post: Bhuvaneswari.A
  Xpath based Identification in QTP 11.0 ravi.gajul 14 31,597 11-12-2013, 10:06 PM
Last Post: ginne
  QTP 11 is not working for Internet Explorer 10 Niraj 5 10,111 08-14-2013, 01:34 PM
Last Post: Niraj
  Qtp script not working in function zeeshanyshaikh 1 2,619 01-16-2013, 02:44 AM
Last Post: Parke
Exclamation QTP not working in IE 8 shaam 4 6,228 08-11-2011, 05:37 PM
Last Post: uma87

Forum Jump:


Users browsing this thread: 1 Guest(s)