Re: Problems with IFrames
"Kamal" <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Organization | home |
| Message-ID | <[email protected]> |
Al, I suggest using commons httpClient and doing a froms based login Hope that helps, -Kamal. ----- Original Message ----- From: Allwyn D'souza To: [email protected] Sent: Friday, March 21, 2008 10:56 AM Subject: [Httpunit-develop] Problems with IFrames Hi Guys, Im using HttpUnit to write test cases. My web application uses <Iframes> to login to the application. To simplify, i have a login page. This page has a javascript function (loginIntoApp) that accepts username and password as parameters to the method. This method sets the username and password to the hidden field and then post the form to a given action. The login page embeds an <IFrame> called "ChildFrame.html". This frame has an html form that accepts "username" and "password" from the user. On the submit of this form, a javascript is called which in turn calls the javascript of its parent (loginIntoApp), mentioned above. I tried different things to write a test cases that login into the app, but i could not login. It works fine if i login using the web browser. Any suggestions or solution would be appreciated? Thanks. Al. ------------------------------------------------------------------------------ When was the last time you saw your friends or family? Free unlimited Video Calls from Windows Live Messenger - download it here for FREE! Click here! ------------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ------------------------------------------------------------------------------ _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop