Rob Allen, Nick Lo, and Steven Brown
"Zend Framework in Action"
Licensed to Menshu You
Zend Framework in Action (Ch01) Manning Publications Co. 11
9. After the list of results appear follow the link to http://framework.zend.com
10. On the Zend Framework home page follow the link to the manual
Once we've finished performing those steps we can stop recording and if all went well Selenium IDE will
have the recorded actions visible in its "Table" view shown in figure 10.4.
Figure 10.4 Selenium IDE in Table view with the results of our recording
Editing the test
If you're following this so far you'll probably notice that "Downloads" was accidentally clicked on in the Zend
Framework home page. Since this was not the aim of our test we want to edit out that step and we can do so by
switching to the "Source" view of the Selenium IDE window which will display the HTML shown in Figure
10.5.
Figure 10.5 Selenium IDE in Source view with the results of our recording
The offending lines that we need to remove from the above source are of course these which can be edited
directly in the "Source" view:
clickAndWait |
link=Download |
|
Having removed those lines we can give it a quick run through by clicking the play button and if it
performs as expected we can save it for future use.
Pages:
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297