Hi
 
I didn't have any problems with long XPath expressions so far. If this is the case in your environment, you could try to address the image by
 
//img
 
and finally describe it based on some 'class' or 'id' attributes as in
 
//[EMAIL PROTECTED]'footer']
 
or
 
//[EMAIL PROTECTED]'someclass']
 
Maybe this gives you some ideas.
 
Best regards,
Tomi
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prasanna
Sent: Monday, August 14, 2006 3:33 PM
To: [email protected]
Subject: [Webtest] Xpaths obtained from X-path explorer are not recognised by canoo

Hi
I am using xpath explorer to find xpath and from xpath explorerI get correct xpath as
//[EMAIL PROTECTED]'Form1']/table[2]/tr[2]/td/table/tr/td[2]/table[4]/tr/td[1]/table/tr/td[2]/table/tr[4]/td/table/tr/td/table/tr/td[2]/img
 
But it seems if xpath is lengthy Canoo fails to recoginse it
and gives error
xpath not found
 
But My xpath is correct as per xpath explorer anyone knows solution for better xpath ??
Help me please

Reply via email to