Developer's Guide

  • Docs Home
  • Community Home

2. Functional User Interface Testing

2.1. Introduction

Functional testing refers to testing of the task-oriented features (aka functions) as opposed to the much lower-level unit-tests. A good unit test will tell you if a piece of code is working within specifications, while a good functional test will tell you if the entire program works as expected for a particular task.

2.2. Installing and Running

Selenium is a suite of tools used to create tests and record their results. These regression tests are intended to be run against multiple different browsers in order to verify the targeted web application.

2.2.1. Installing and Configuring Mac OS X

Selenium uses Firefox by default, so you need to make sure that firefox-bin is in your search path:

which firefox-bin

If that returns nothing, then you need to add the path to firefox-bin to PATH. For example:

export
      PATH=$PATH:/Applications/Internet/Firefox.app/Contents/MacOS/

The actual Selenium tests are found in the $ZENHOME/Products/ZenUITests/tests/selenium/ directory.