[Webtest] [webtest][JIRA] Closed: (WT-41) setSelectField behavior does not appear to be working correctly

Paul King (JIRA) webtest@lists.canoo.com
Mon, 19 Dec 2005 23:14:14 +0100 (CET)


     [ http://webtest-community.canoo.com/jira/browse/WT-41?page=history ]
     
Paul King closed WT-41:
-----------------------


Appears fixed

> setSelectField behavior does not appear to be working correctly
> ---------------------------------------------------------------
>
>          Key: WT-41
>          URL: http://webtest-community.canoo.com/jira/browse/WT-41
>      Project: WebTest
>         Type: Bug
>     Reporter: David 
>     Assignee: Paul King
>  Attachments: example.zip
>
> This is really an awesome tool, I have only found one problem with using this. I have re-tested this and placed debugging on at the various software components(e.g. htmunit.jar,httpclient.jar). I have verified 
> that an onchange event on a setSelect field will correctly execute the javascript, in this case it posts the request to the
> application server(Tomcat 5.0), but what appears to be going on is that instead of the next page(blank.html) being referenced the same page(entry.html) that
> posted the request is getting referenced. When I turned on debug I could see in the trace that the next page(blank.html) was coming back(in the http client debug)
> but it appeared that the code in the web canoo jar was not referencing the new page, but the previous one. When I tried to verify the title "verifyTitle" it failed
> with an error saying that was looking for the title that was contained in the previous page.
> I have attached an example so that you could see what is going on. I an currently using the following version that I dowloaded from the Canoo Web site:
> Release class = 1.7, build number = R_764. In addition, I downloaded the latest HtmlUnit version 1.5 from
> the HtmlUnit website. Attached is the zip file that contains the following:
> example.xml - which contains the canoo web XML directives
> entry.html -which is the first page
> blank.html - which is the second page 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira