| Page 1 of 1 | [ 7 posts ] |
|
The documentation for invoking unit tests via the YUI Selenium Driver specifies to use the jar file invocation style. The installation instructions indicate that the selenium-java-client-driver.jar be installed in the JRE /lib/ext/ directory.
Due to our shared (continuous integration) CI environment, it would be preferable not to install the client driver in the extensions directory. I would like to invoke the YUI Selenium Driver through the main class so that my CI ANT build script can control the class path to the client driver jar. I have been able to use the com.yahoo.platform.yuitest.selenium.YUITestSeleniumDriver and class path to invoke the tests (although I still have issues: [ERROR] Selenium failed with message: ERROR: Threw an exception: selenium.browserbot.getCurrentWindow().YUITest.ResultsFormat is undefined. Check the test URL ...). I was wondering if calling the main class would be an appropriate alternative way to invoke the YUI test Selenium driver. If so, perhaps this could be documented as a supported approach. Could my error above be due to this approach? Thanks, Mike |
|
You should be able to do that. Can you paste in the command that you're using? I'll be happy to include it in the documentation.
The other error you're receiving is unrelated, and I'm looking at it now. |
|
Code: java -classpath <absolute path>\selenium-java-client-driver.jar;<absolute path>\yuitest-selenium-driver.jar com.yahoo.platform.yuitest.selenium.YUITestSeleniumDriver <driver options> |
Johnny Weng LuuYUI Contributor
|
"I'll be happy to include it in the documentation."
Where is the documentation for YUITest Selenium Driver and YUITest Code Coverage? |
Alberto SantiniYUI Contributor
|
Hello Johnny.
See http://yuilibrary.com/yuitest/ Examples and full documentation for Standalone YUITest, Code Coverage & the Selenium drivers are all available in the download file [1]. Hope that helps, IceBox [1] http://yuilibrary.com/downloads/#yuitest |
|
This doesn't appear to have ever been added to the documentation. If I'm wrong please correct me.
|
Alberto SantiniYUI Contributor
|
Hello Paul.
I confirm my previous post. I downloaded the file yuitest_1.0.0b2.zip contained in the link suggested and docs and drivers are included. Regards, IceBox P.S.: http://yuilibrary.com/download/yuitest/ |
| Page 1 of 1 | [ 7 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group