Hi This works for me. I hope this is what you are looking for setInputField(xpath: "//input[matches(@id,':text1')]",value:firstname)
Regards Hari On Thu, Jan 22, 2009 at 8:08 PM, Michael Habbert < [email protected]> wrote: > Hi Vikas, > > yes: > > <setInputField htmlId="view:sub_view:form:text1" value="your-value"/> > > should do the trick. > > I did understand your question right? > > regards > Michael > > > Vikas Lall schrieb: > > Dear All >> >> I have a form field in jsp with following id = "view:sub_view:form:text1" >> I want to to set a value to this text1 w/o giving the full name in >> setInputField tag. >> How should i do it ? does doing setInputfield name="*text1" will work. >> i dont want to give the full name for the field. >> Please let me know any way out this .... >> >> Regards >> Vikas >> >> =====-----=====-----===== >> Notice: The information contained in this e-mail >> message and/or attachments to it may contain confidential or privileged >> information. If you are not the intended recipient, any dissemination, use, >> review, distribution, printing or copying of the information contained in >> this e-mail message and/or attachments to it are strictly prohibited. If you >> have received this communication in error, please notify us by reply e-mail >> or telephone and immediately and permanently delete the message and any >> attachments. Thank you >> >> >> >> _______________________________________________ >> WebTest mailing list >> [email protected] >> http://lists.canoo.com/mailman/listinfo/webtest >> >> > > Michael Habbert Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe > | Germany | www.key-work.de > Fon: +49-721-78203-269 | E-Mail: [email protected] | Fax: > +49-721-78203-10 > > Key-Work Consulting GmbH Karlsruhe, HRB 108695, HRG Mannheim > Geschäftsführer: Andreas Stappert, Tobin Wotring > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest >

