Once recorded you can run, walk or step through actions with or without start points and breakpoints.
What makes Selenium particularly useful is the fact that the unit testing tool PHPUnit used by the Zend
Framework has a Selenium RC extension which means we can integrate the Selenium tests into our overall
testing procedure.Installing Selenium IDE
Since Selenium IDE is an add-on for the Firefox web browser you need to have downloaded and installed
Firefox from http://www.mozilla.com/firefox/ before you can install the extension.
Selenium IDE can be downloaded from the Firefox add-ons page at https://addons.mozilla.org/firefox or
from the project's own download page at http://www.openqa.org/selenium-ide/download.action. The easiest
method of installing the extension is to click the links to the .xpi files from within Firefox and allow Firefox to
handle the download and install.
Recording a Selenium test
We start by choosing Selenium IDE from the Firefox tools menu which sets it automatically in recording
mode. Next we simply interact with the web pages as usual. For this example let's record a very simple test that
queries Google for "zend framework" then follows the links to the Zend Framework manual page.
7. Navigate to google.com.au
8. Enter "zend framework" in the search field and click the "Google Search" button.
Pages:
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296