Book Image

Learning Selenium Testing Tools - Third Edition

Book Image

Learning Selenium Testing Tools - Third Edition

Overview of this book

Table of Contents (22 chapters)
Learning Selenium Testing Tools Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Test Automation Frameworks Evolution


Tip

Generation 1: Record/Playback

Generation 2: Action driven

Generation 3: Data driven

Generation 4: Keyword driven

Current Generation: Hybrid

Record/Playback

The test automation tool vendors market their product being able to capture user actions and later to playback. This is the basic paradigm for GUI-based automated regression testing—the so-called record/playback method (also called the capture/replay approach). It can be achieved using Selenium RC and Selenium IDE, but not with Selenium WebDriver.

Advantages

  1. It is user friendly.

  2. The user does not need to know scripting or programming languages.

Disadvantages

  1. It is tool dependent.

  2. There is no reusability factor.

  3. The basic drawback in the record and playback methods is that scripts contain hardcoded data, hence parameterization is not possible. The costs associated with maintaining such scripts eventually become expensive and unacceptable.

  4. The recorded scripts are not reliable, even if the application has...