couldn't login and error message shows "JavaScript error loading page"  in 
R_1736 or R_1731, but it's ok in R_1716
------------------------------------------------------------------------------------------------------------------

         Key: WT-487
         URL: http://webtest-community.canoo.com/jira/browse/WT-487
     Project: WebTest
        Type: Bug

 Environment: platform: winxp
canoo release: 1736
    Reporter: jye.jane
 Attachments: results_R1716.rar, results_R1736.rar

Hi,
     I want to update my canoo. When used recent releases(such as R_1731, 
R_1736), I encountered same problem.

The test case shows how to connect to a webapplication and login. It designed 
as follows:
------------------------------------------------------------------------------------------------
1. invoke a particular webapplication url
2. input username and password
3. click "Log" button
------------------------------------------------------------------------------------------------------
when click the button, test failed.

Error message shows:
       JavaScript error loading page 
http://localhost/SugarEnt-5.2.0a/index.php?module=Home&action=index: Wrapped 
java.lang.ClassCastException:   
       com.gargoylesoftware.htmlunit.javascript.host.DocumentFragment cannot be 
cast to com.gargoylesoftware.htmlunit.javascript.host.HTMLElement 
       
(http://localhost/SugarEnt-5.2.0a/include/javascript/sugar_grp1_yui.js?s=f8fbefc25d2b1ffa82af524af50f9a5a&c=1#73)

1) But when click the "Resulting page" of the failure step,  It shows the 
webapplication Homepage and this indicate canoo login the application 
successfully.
2) This problem exist in recent releases(such as R_1731, R_1736) and not in 
R_1716. 

For detail info, please look into the attached files



Thx
Jane


    

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to