Search

12/13/2010

YUITest Selenium driver

» 命令行方式执行YUITest单元测试 Kejun’s Blog
YUITest Selenium driver wiki
Introducing the New YUI Test » Yahoo! User Interface Blog (YUIBlog)
Install Selenium-RC
Installing Selenium Server

The Selenium-RC server is simply a Java jar file (selenium-server.jar), which doesn’t require any special installation. Just downloading the zip file and extracting the server in the desired directory is sufficient.
Running Selenium Server

Before starting any tests you must start the server. Go to the directory where Selenium-RC’s server is located and run the following from a command-line console.

java -jar selenium-server.jar

Video: Nicholas C. Zakas — YUI Test



step1: install hudson
step2: install seleniumhq plugin
step3: job configuration

java -jar /home/chunghe/yuitest/yuitest-selenium-driver-0.5.5.jar --resultsdir /var/lib/hudson/jobs/yuitest/workspace http://localhost/yui.test.htm

Post-build Actions: select "Publish JUnit test result report" and *.xml

沒有留言: