Support Requests item #747928, was opened at 2003-06-02 23:41
Message generated for change (Comment added) made by yourgod
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=448267&aid=747928&group_id=47038
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Jeff TSUI (ncjt)
Assigned to: Nobody/Anonymous (nobody)
Summary: form submition with list of form name are the same.
Initial Comment:
Does any one try to submit the page with list of from
name are the same the html. My task to try to simulate
the user click on the delete or maintain image button.
Here are my codes to try to submit the delete.
res1 = page4.getWebResponse();
final HtmlForm formDel = page4.getFormByName
("form6");
formDel.setActionAttribute("eventdelete.asp");
formDel.setMethodAttribute("post");
final HtmlHiddenInput eventId = (HtmlHiddenInput)
formDel.getInputByName("eventId");
eventId.setValueAttribute("734124");
final HtmlImageInput deleteBtn = (HtmlImageInput)
formDel.getInputByName("Delete");
final HtmlPage page5
= (HtmlPage)deleteBtn.click();
res1 = page5.getWebResponse();
the result will print out "Form select error " form the 3
party program. In general the 3 party will not provide any
support for this instance. So that why i raise my help
over here.
Many thanks for your attentation.
Jeff
----------------------------------------------------------------------
>Comment By: Brad Clarke (yourgod)
Date: 2004-06-18 15:37
Message:
Logged In: YES
user_id=257129
I don't see anything really wrong with this code (though
it's quite redundant). Without more specific information
about what the 3rd party program's problem was there isn't a
whole lot we can do.
If you're still out there I'd suggest trying the latest
version as any problem you have might have already been
fixed. Feel free to reopen this request if you still have
issues and I'll be happy to work with you on this.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=448267&aid=747928&group_id=47038
|