Hi Richard,

your usage seems to be correct. You need to investigate a bit to see at
which place it doesn't work. Is js involved? Can you reproduce the
problem with a minimal html page?

Concerning Ajax: current state is that htmlunit supports XMLHttpRequest
(both as normal object and as IE ActiveX) and the responseText works
fine but the responseXML content is retrieved but not made available to
the js script. I guess that this would half a day work to fix it, but it
hasn't been done until now.

Marc.

PS: a yahoo-inc email address? Are you from yahoo itself? Does yahoo use
WebTest for its quality tests?

Richard Berens wrote:
> I am trying to test an application where one of the pages contains an
> iframe. I use followFrame and then set various text fields, radio
> buttons, and checkboxes. This seems to all work fine. The page is
> submitted in steps. There is a button on the main page whose onclick
> handler submits the iframe. The result of the iframe submission then
> invokes a submit on the form for the main page.
> 
>  
> 
> To get to the submit button after setting the iframe fields, I use
> <followFrame name=”_top” />. I set a select and then use <clickButton ..
> ./> on the appropriate button. All is fine; however what is submitted
> from the iframe is a series of input items that contain no content. In
> particular they do not contain the data that was set after the
> <followFrame … /> to the iframe.
> 
>  
> 
> I am assuming that I am doing something wrong but I haven’t a clue what.
> Can anybody shed any light? I am using R_1353.
> 
>  
> 
> In a similar vein, I have seen mention that the combination of webtest
> and htmlunit I am using supports ajax interaction. Are there any
> examples of how this is done?
> 
>  
> 
> Thanks
> 
>  
> 
> Richard Berens
> 


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

Reply via email to