Thanks Jian for the suggestions. Just to summarize the thread I wanted to test an XForms Application using the Mozilla Plugin (0.86 version)
Defining the following in the module ui.InputBox(uid:"weight",clocator: [ref:"/root/ClinicalExamination/GeneralExamination/Weight"]) produced an xpath of isElementPresent[//descendant-or-self::inp...@ref="/root/ClinicalExamination/GeneralExamination/Weight"], ] This failed because the default name space in Selenium is xhtml and it did not understand find a xforms:input I changed the definition as suggested by Jian to ui.InputBox(uid:"weight",clocator: [ref:"/root/ClinicalExamination/GeneralExamination/Weight", tag:""]) and this produced an XPath of isElementPresent[//descendant-or-self::*...@ref="/root/ClinicalExamination/GeneralExamination/Weight"], ] which is matched in the DOM and it works . So the learning seems to be that * works across namespaces too. Regards Hari On Sun, Mar 15, 2009 at 9:32 AM, John <[email protected]> wrote: > > You have to modify the DslContext class. We will add the support > later. See our > discussion couple months ago. > > > http://groups.google.com/group/tellurium-users/browse_thread/thread/b3bff3e3dbd8599c/a5b7836f21f5a6ec?lnk=gst&q=extension#a5b7836f21f5a6ec > > On Mar 14, 11:38 pm, Harihara Vinayakaram <[email protected]> wrote: > > Hi > > I have a quick question. I am not in front of my machine and so cannot > try > > this out > > > > If I set my Selenium Server to load the user extensions how can I pass > the > > commands from Tellurium directly to the server > > > > Regards > > Hari > > > > On Sun, Mar 15, 2009 at 8:53 AM, John <[email protected]> wrote: > > > > > Found a post about it, > > > > >http://cfis.savagexi.com/2006/08/02/selenium-and-xhtml > > > > > But seems it is a big hack. > > > > > By the way, since XHTML is actual an XML, maybe you can use > > > Tellurium's method > > > > > getXMLDocument() > > > > > to get back the XML document. > > > > > Thanks, > > > > > Jian > > > > > On Mar 14, 11:16 pm, Harihara Vinayakaram <[email protected]> wrote: > > > > Hi > > > > Do you know of any way to register a namespace so that Selenium > does > > > not > > > > barf ? I am not able to find any > > > > > > 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 -~----------~----~----~----~------~----~------~--~---
