From: SourceForge.net <no...@so...> - 2003-06-03 04:41:17
|
Support Requests item #747928, was opened at 2003-06-03 12:41 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448267&aid=747928&group_id=47038 Category: None Group: None Status: Open 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448267&aid=747928&group_id=47038 |