Hallo Chris,

is it possible that webtest clicks the right button, performs the right
request, but fails to set the right page as the new current response?
(you can configure the logs to "see" more)

Marc.

PS: be careful, I collect such awful XPath expression in my blog
http://mguillem.wordpress.com/2007/07/31/xpath-power-2-detect-lack-of-experience/
;-)
-- 
Blog: http://mguillem.wordpress.com

[EMAIL PROTECTED] wrote:
>> and your
>>
>> HtmlPage page = (HtmlPage) ((HtmlButton)
>> page.getDocumentElement().getHtmlElementsByTagName("button").get(0)).click();
>>
>> really did that?
> 
> Yes. Also 
> 
> HtmlPage page = (HtmlPage) ((HtmlButton) 
> page.getByXPath("/html/body/table/tbody/tr/td/div/table/tbody/tr/td/div/div[2]/div/div[4]/span/button").get(0)).click();
> 
> does it (verified by "page.getWebResponse().getContentAsString();"). I can 
> navigate further then.
> 
> Chris



_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to