Running the Test Case
From Documentation
Revision as of 03:01, 16 July 2010 by Maya001122 (talk | contribs) (Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ ===Running Selenium server=== Go to the '''''SELENIUM_HOME/selenium-server-1.0/''''' directory and launch <pre>java -jar selenium-server…')
This documentation is for an older version of ZK. For the latest one, please click here.
Running Selenium server
Go to the SELENIUM_HOME/selenium-server-1.0/ directory and launch
java -jar selenium-server.jar
Running ZK application
Simply run your ZK application using Eclipse, or any other Servlet Container.
Running test application
To run the test, right-click on ZKTest.java and select Run As > JUnit Test
The result
After test, you shall see the result in your eclipse as follows,
The test code alerts a message to tell us that the text of window's title is "abc" not "123".