Thursday, February 24, 2011

Library Framework

Test Library Architecture


The test library architecture framework is very similar to the test script modularity framework and offers the same advantages, but it divides the application-under-test into procedures and functions instead of scripts. This framework requires the creation of library files which has reusable code represented in modules, sections and functions of the application-under-test. These library files are then called directly from the test case script.

           
Advantages:
§     Performance of automation scripts increases due to higher code re-usability
§    Functionality changes can be accommodated easily by updating only the specific "Business Function" script
§   Object recognition changes can be easily accommodated in tools without inbuilt object repository

Disadvantages:
§    Technical expertise is necessary to write Scripts using Test Library Framework
§    More time is needed to plan and prepare test scripts
§    Cannot drive the data from database