Hi,

What is the purpose of the javascript call you mentioned?  Is the actual
user validation performed by the javascript call, as opposed to submitting
the form to the server?  If so, then you are up against the same problem
I've been struggling with for months.  Changes to a page as a result of
javascript actions are not immediately available in the webtest.  Only
actions such as clicking a button, clicking a URL, etc. will change the page
in webtest.

Shawn Bradley
President, Sunergeo Systems, Inc.
www.sunergeosystems.com

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Giordan
Sent: Wednesday, January 24, 2007 9:55 AM
To: [email protected]
Subject: [Webtest] Bad login

Hi,
I'm testing an application with a post method login. Clickking submit
button, there is a JavaScript call and, if made successfully, you're logged.
Try to test this passage, the test failed. After click submit button I
verify that the post-login page's title is correct. That's what generate
error. The title resulting post-login is the same of the login page.

My script was composed by 2 setInputField for u/n and password, 1
clickButton and 1 verifyTitle. Nothing hard...
This web application is based on JSF...
Can someone help me?

Thank you. 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Prestiti e Finanziamenti con un semplice click, scopri subito se sei
finanziabile cliccando qui
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2910&d=20070124




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

Reply via email to