From Documentation

Jump to: navigation, search




Contents


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,
Selenium-result.png
The test code alerts a message to tell us that the text of window's title is "abc" not "123".




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