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

Framework-Driven (Structured) Test Scripts

Framework-driven testing isolates the AUT from the test scripts. It provides a set of functions in a shared function library. The functions are treated as if they were basic commands of the test tool's programming language. Framework-based test scripts can be programmed independently of the UI.

Framework-driven testing can occur at multiple levels (18):

  • Menu/command level— executing simple commands

  • Object level— performing actions on specific things

  • Task level— taking care of specific, commonly repeated tasks

Developing Framework-Driven Test Scripts

The following hints will help you develop framework-based test scripts (26).

  1. Write functions for all features of the application under test.

  2. Write functions ...

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