Hi Janet, WebTest has full xpath support. Are you sure that you're OK button has been created at the time you want to check it? If yes, can you provide the html code on which you find that WebTest has xpath problems?
Cheers, Marc. -- Blog: http://mguillem.wordpress.com Janet Gregory wrote: > We are dynamically creating an "OK" button using javascript once we have > created a new user. > > I am using xpath to find the button but am having a problem. My > xpath checker verifies that this string find the right button. > //[EMAIL PROTECTED]'x-btn-text' and contains(text(), 'OK')] > However, in webtest, it says button not found. It will execute the test > with just this xpath string > //[EMAIL PROTECTED]'x-btn-text' > In xpath checker, just using that string identifies 5 buttons. I think > it is pressing the "cancel" button instead since my verification step fails. > > Does Webtest not support full xpath expressions? Or should I be using a > variation that I'm not aware of. > > thx, > Janet _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

