Hi.

I'm using qooxdoo 0.8.2 and Selenium RC 1.0.1 with the Java API.
I have an application with several windows, and want to select widgets 
inside windows. The problem is that when I try something like 
"qxh=*/..../mywidget", I can only access to widgets in my first window.
So I have to indicate the window in the locator. I can do something like 
qxh=child[7]/*/...../mywidget if my window is the 7th child of the root. 
This works for now, but in the future I won't be able to tell the 
position of my windows among root children.
I used to use the setName() method on my widgets to identify them, but 
it doesn't exist for the Window widget. And I can't use the window 
caption because it may change at runtime.

So my question is: is there a simple way to identify a window with qxh 
locators ? I've looked at the wiki and the ML archives, but found 
nothing. In Selenium there's a selectWindow(String windowId) function, 
but how can I set my Window id ?

Thanks for any hint.

-- 
Loic - Novlog


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to