For example, in the @BeforeClass or @Before method after you start the Selenium server.
On Thu, May 14, 2009 at 12:57 PM, Jian Fang <[email protected]>wrote: > No, should put in your test class because it will talk to Selenium server > to add the name space, which is a runtime call. > > > On Thu, May 14, 2009 at 12:50 PM, Harihara Vinayakaram > <[email protected]>wrote: > >> Can I call the registerNameSpace in the defineUi ? >> >> >> On Thu, May 14, 2009 at 10:02 PM, Jian Fang <[email protected]>wrote: >> >>> I added registerNamespace method for you and you can try to register the >>> namespace before you make calls >>> to Selenium server. Namespace is enabled on UI objects, for example, >>> >>> ui.Container(uid: "TEST", namespace: "ns2", clocator: [:]){ >>> >>> } >>> >>> Somewhere, you should call >>> registerNamespace("ns2", "http://tellurium.org/ns"); >>> >>> you can do the same to add the namespace in and see if it works for you. >>> >>> Thanks, >>> >>> Jian >>> >>> >>> On Thu, May 14, 2009 at 12:23 PM, Harihara Vinayakaram <[email protected] >>> > wrote: >>> >>>> Hi >>>> I have one question regarding the usage of custom classes. Can I >>>> directly use the XPath rather than defining an UI module If so how do I do >>>> that ? .The reason I am asking this is because I have elements that belong >>>> to a different name space and the last time I remember I could not define >>>> those elements in the Ui >>>> >>>> Let me know >>>> >>>> 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 -~----------~----~----~----~------~----~------~--~---
