Hi, qooxdoo table cells are HTML divs and not widgets, so getQxObjectFunction won't work. You could try getting the cell's value using
getQxTableValue(tableLocator, "row=3,col=4") This value is used by the cell renderer that creates the button, so it should contain the information about the button's enabled/disabled state. Regards, Daniel Loredana Loredana schrieb: > Is there a way to use "getQxObjectFunction" to check if a button from a > table cell is enabled or disabled? > I succeeded to check on other buttons, but i was not able to check a > button that is inside a cell because i don't know how to get that > button's locator. When I click the button I use qxTableClick command and > I set the row and column values. > Can you help me, please? > > Thank you, > Loredana > > On Wed, Jul 21, 2010 at 11:13 AM, Daniel Wagner <[email protected] > <mailto:[email protected]>> wrote: > > Hi, > > I don't really use Selenese, but if you're running the test suite using > Selenium server, you can specify the URL like this: > > java -jar selenium-server.jar -htmlSuite <browser> <startURL> > <suiteFile> <resultFile> > > You could put that command in a shell script or batch file and pass in > the value for startURL as a command line argument. > > To check if a widget is disabled, you can use the "getQxObjectFunction" > method from the qooxdoo Selenium user extensions. First parameter is the > locator, for the second parameter you'd use "isEnabled". This will > return "true" or "false" (as a string, not a boolean). > > > Regards, > Daniel > > lore6dana schrieb: > > Hi > > I need my Selenium tests to run on all machines is used the > application I'm > > testing. So, I want to know if it is possible to use a variable > instead of a > > fixed URL and replace it when you run the test with the > corresponding URL. > > I tried a few weeks ago to export my tests in Java, but I had > some issues > > with some of the locators. The tests were OK in Selenium but not > in Java, > > and because of that I decided to use them as html files. > > > > Also I'd like to know if there is a way to test if a button is > disabled? > > > > Thank you, > > 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://sprint.com/first> -- > http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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
