FYI, we've found that using a Groovy step to get the current page as text or xml still doesn't give us the updated page with the AJAX response.
On Wed, Jul 9, 2008 at 7:26 AM, <[EMAIL PROTECTED]> wrote: > > Dear Florian, > > see http://webtest.canoo.com/webtest/manual/verifyText.html: > "This step verifies the existence of the specified string somewhere in the > response received from server (ie the changes that may have occured since > the page has been loaded are not seen by this step)." > > You'll need to use e.g. verifyXpath to investigate changed content. > > Best regards, > Stefan > > > > "Keusch Florian" <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > > 09-07-2008 12:56 > > Please respond to > [email protected] > To > <[email protected]> > cc > Subject > [Webtest] Re: richFaces Ajax + content not updated > > > > > hi, > > i've a simple test applied on the richFaces demo to show this problem: > > <webtest name="richFaces demo - test ajax commandButton"> > <invoke > url="http://livedemo.exadel.com/richfaces-demo/richfaces/commandButton.j > sf?c=commandButton"/> > <setInputField name="j_id221:j_id224" value="florian"/> > <clickButton label="Say Hello" name="j_id221:j_id225"/> > <verifyText description="Verify that text is contained in the page" > text="Hello florian! "/> > </webtest> > > You'll see that the step verifyText fails because the page content was > not updated! I used a http proxy > > Using webtest r_1710 (with htmlunit 2.1) > > > > Greetings Florian > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > > > _________________________ > > CONFIDENTIALITY NOTICE > > The information contained in this e-mail message is intended only for the > exclusive use of the individual or entity named above and may contain > information that is privileged, confidential or exempt from disclosure under > applicable law. If the reader of this message is not the intended recipient, > or the employee or agent responsible for delivery of the message to the > intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. If you > have received this communication in error, please notify the sender > immediately by e-mail and delete the material from any computer. Thank you. > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

