Support Requests item #1712633, was opened at 2007-05-04 12:52
Message generated for change (Comment added) made by henryju
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497983&aid=1712633&group_id=61302

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: tonotifyyouof (tonotifyyouof)
Assigned to: Julien HENRY (henryju)
Summary: setTextField changing working form

Initial Comment:
Hi, I am using JWebUnit to test a website.

Using the setTextField method of WebTestCase, I am able to set the
text in a text field - normally this works fine.

However, on a page with multiple forms that share names, am having
problems.

The setWorkingForm method works fine for making sure the correct
submit button is clicked, but when I use setTextField it seems to go
back to the other form.

E.g. I want to set the "email" field in the login form. The
registration form also has an "email" field, so I use setWorkingForm
before I use setTextField.

For some reason, the setTextField method is changing the working form
back to the registration form.

Am I doing something wrong? 

----------------------------------------------------------------------

>Comment By: Julien HENRY (henryju)
Date: 2007-05-04 15:22

Message:
Logged In: YES 
user_id=1235926
Originator: NO

Thanks. I will try to fix it this Week End.

----------------------------------------------------------------------

Comment By: tonotifyyouof (tonotifyyouof)
Date: 2007-05-04 15:16

Message:
Logged In: YES 
user_id=1785239
Originator: YES

The web address is http://www.192.com
File Added: code.txt

----------------------------------------------------------------------

Comment By: Julien HENRY (henryju)
Date: 2007-05-04 14:47

Message:
Logged In: YES 
user_id=1235926
Originator: NO

Hi,

It could be a bug. Could you please provide HTML + Java code to help me
reproduce (and fix) the bug.

Thanks.

Julien

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497983&aid=1712633&group_id=61302

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to