Hi Hari, Yes my site does use frames, in particular an iframe on every main page. I get round seleniums frame issues by using SelectFrame() where necessary in some places and in others, including the frame in the UI module definition as you do.
The main info on debugging is in the Wiki - http://code.google.com/p/aost/wiki/TelluriumJQueryFirebug all I've done is to get it to work in multi window mode. I've noticed that jQuery's find() function does not traverse frames, so to debug inside frames I use teJQuery(selenium.browserbot.getCurrentWindow().frames ['Content'].frames['SubNav'].document).find("#languageSelector") Of course it is also possible to debug selenium more directly: teJQuery(selenium.browserbot.findElement('jquery=#languageSelector')) The teJQuery wrapper is not really necessary unless you need to do some more jQuery on the found element, e.g. teJQuery(selenium.browserbot.findElement ('jquery=#languageSelector')).parents() There are a plenty of functions in the jQuery documentation which may be useful for user extensions, and this is a good way to experiment. On Oct 20, 3:31 am, Harihara Vinayakaram <[email protected]> wrote: > Hi Domnic > Does your site use frames which is why you need to get into the multi > window mode ? My previous project was using frames and the behavior of > Selenium with frames was slightly unpredictable. But finally I was able to > solve it with defining my UI module with the frame id in it . > > Can you throw some more light on what this debugging is for . Sorry for > being a newbie > > Regards > Hari > > On Mon, Oct 19, 2009 at 10:37 PM, dominicm <[email protected]>wrote: > > > > > > > Hi all, > > > Our site is not runnable at all under single window mode so I've been > > looking at debugging in multi window mode. > > > This is possible using commands of the form: > > > teJQuery(selenium.browserbot.getCurrentWindow().document).find > > ("#username") > > > The equivalent for single window mode would be: > > > teJQuery("#selenium_myiframe").contents().find("#username")- Hide quoted > > text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
