Hi Loredana, to add some background to Olivier's suggestion, qooxdoo's CheckBox widget uses a DIV element instead of the INPUT element that Selenium is looking for.
As for your second question, it's hard to tell without knowledge of the application or the locators. It could be a timing issue where e.g. it takes longer to create a new widget on one platform and you're trying to access the widget before it's added to the DOM. Your best bet is probably to run your tests manually step by step using Selenium's interactive mode on the affected platforms. If you can't reproduce the problem that way, then it probably is a timing problem and you could try adding short pauses before accessing the widgets that cause problems during automated runs. Regards, Daniel lore6dana schrieb: > Hi! > I created a test using Selenium and I have to verify if a check box is > checked or not. I tried to use assertChecked(locator) but it gives me the > following error: > Element qxh=app:child[0]/child[3]/child[1]/child[0]/child[1] is not a > toggle-button > Where qxh=app:child[0]/child[3]/child[1]/child[0]/child[1] is my check box > locator. When i press the 'Find' button in selenium in debug mode it says: > [debug] Qxh Locator: Terminating search, found match; last step :child[1], > element: qx.ui.form.CheckBox[603] > That means that the locator is pointing to a check box, so I can't find the > problem. Is there another way to verify the check-box state? > > Besides that, I have another problem. The application that I test is > implemented in qooxdoo and when I run the same test on the same application > but accessed from different machines I get different results. On some > addresses the test runs ok and on others some windows don't respond to the > same locators. I don't understand why given that the application and the > test are the same. Any idea what may be the problem? > > Can someone help me, please? Or at least give me a hint? > Thanks, > Loredana ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
