Selenium-Core

Selenium Core is a test tool for web applications. The tests run directly in a browser, just as real users do.

It is used for:

  • browser compatibility testing of the ea-Geier to see if it works correctly on different browsers and operating systems.
  • system functional testing to verify application functionality and user acceptance.

Usage

The Selenium test scripts of the ea-Geier are located in the test/selenium test folder and are started by

http://SERVER/PATHTOEAGEIER/test/selenium/index.html

Test Suite

The test/selenium/index.html file acts also as test suite holding all Selenium test scripts.

New test cases are added by adding a new line to the test-suite table:

<tr><td><a href="NewTest.html">New Test</a></td></tr> 

Test Case

A test case is represented by an HTML document written in “Selenese”, containing a table with three columns for a command and two arguments. Any rows with fewer than three columns will be ignored by Selenium and can be used for comments.

MyTest
open /mypage
type nameField John Smith
click submitButton True
verifyText name John Smith

See the Reference Guide for a complete list of commands.

Bundling

To increase security and because the Selenium-Core is used only for testing it will not be bundled with production releases.

As 3rd-party product it will also not be checked into the repository.

If you want to run the Selenium tests and the Selenium-Core code is missing in your ea-Geier distribution, please download it from the Selenium homepage.

Unzip the code into the 3party/selenium/ folder – e.g.:

3party/selenium/selenium-core-0.8.2/

and make sure the version variable in the test suit is configured properly. To do this, open the the file test/selenium/index.html. Look for var version and change the value to the name of the folder you have just uploaded – e.g.:

var version = 'selenium-core-0.8.2';