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://p.sf.net/sfu/sprint-com-first _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
