Olivier ZORO-BI wrote: > Hi, > Last time, I couldn't access TabviewPages of a tabview with Selenium. I > asked questions about it and I finally found > tabviewlocator/child[2]/child[i] although Qooxdoo inspector shows me > that tabviewPage is the direct child of tabview in my application. > > I didn't understand this formula but it worked until today with a > tabview used with a tree. Does someone know something about this problem? > I would like to access the tabviewPages with a property (widgetId) like > all my other widgets : tabviewlocator/*/[...@widgetid=tabviewpage] or with > the label but it doesn't work. > > Thanks for your help. > > Olivier > > > ------------------------------------------------------------------------------ > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > Hi again, I used Selenium IDE debug to have more information about it. In facts, in tabviewlocator/child[2]/child[i], child[2] is a qx.container.SlideBar which might automatically be added with tabview because I did not find it in my code. And child[i] is a qx.ui.tabview.TabButton which is not either in my code.
I can only access my tabviewPages if I have already click on it and I was doing that with child[2]/child[i]. Otherwise, the tabviewPage is not found by Selenium. Isn't it any other way to click the tabviewPages ( without qx.ui.tabview.TabButton which doesn't appear in the code) or is it possible to give this widget a property like the others (wigdetId). Thanks. Olivier. ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
