You mean partial matching, right? Yes, Tellurium uses "%%" to provide partial matching. In your case, you can have
InputBox(uid: "input", clocator[id: "%%:cellphoneNumber"]) It will actually generate the xpath like: //input[contains(@id, ":cellphoneNumber"]. Thanks, Jian On Feb 26, 2:23 am, Harihara Vinayakaram <[email protected]> wrote: > Hi > My application is coded using JSF (Java Server Faces) . One of the > problems with JSF is that the id's are not fixed and are generated. With > canoo WebTest I was able to use an XPath like > setInputField(xpath: "//input[matches(@id,':cellphoneNumber')]", value: > cellPhoneNumber) > > (i.e. an input filed which has an id matching ":cellphonenumber " > > Can I do something similar to this with clocator ? > > Regards > Hari --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en -~----------~----~----~----~------~----~------~--~---
