I'm using a verifyXpath step to verify presence of an image call.  I'm
using 3 different xpath tools to generate the path -- firefox DOM
inspector, view Xpath extension, and xpather extension.  All of these
pathers agree with each other, that the xpath 
'/html/body/div/div[1]/div[2]/img/@src' 
for the page 
http://www.restorationhardware.com/rh/info/job_headquarters_directions.j
sp
Should give me
'/estore/media/content/info/rh_corp_map.jpg'


However, webtest keeps evaluating it as '':
[verifyXPath]  INFO (com.canoo.webtest.steps.Step) - Message was: xpath
test: /html/body/div/div[1]/div[2]/img/@src evaluates to: , expected
value is: /estore/media/content/info/rh_corp_map.jpg

I've tried xpathing both the live page and the page as saved by webtest.
Neither works.  I've used xpaths with much success elsewhere.  Any
ideas?
Thanks
mike
:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:
T. Michael Knapp
QA Engineer :: Restoration Hardware
[EMAIL PROTECTED]
510 282-5399 [mobile]
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to