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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Running the Test Case

Stop.png 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 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".

Last Update : 2010/07/16

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.