O'Reilly logo

Just Enough Software Test Automation by Bruce A. Posey, Daniel J. Mosley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Recording versus Programming Test Scripts

Recorded test scripts have their limitations and frequently must be edited before they work properly. Zambelich stated the disadvantages of recorded test scripts very clearly (10):

  1. The scripts resulting from this method contain hard-coded values, which must change if anything at all changes in the application.

  2. The costs associated with maintaining such scripts are astronomical and unacceptable.

  3. These scripts are not reliable, even if the application has not changed, and they often fail on replay (pop-up windows, messages, and other things can happen that did not happen when the test was recorded).

  4. If the tester makes an error entering data, etc., the test must be rerecorded.

  5. If the application changes, the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required