Nov
05

Typical Architecture of Automation Frameworks

By Keywords



An Automation Framework primarily comprises of elements like:

A) Function Library

B) Object Repository

C) Database

D) Application Scenario Files

E) Initialization VBScript

F) Sequence File

G) Driver Script

H) Test Case List File

B) Object Repository:

C) Database:

 

The subject matter experts (SME’s) who usually don’t have much of programming knowledge are able to easily use these application scenario files for creating automated tests by making quick selection of keywords from the dropdown lists.We can save tremendous amount of automation effort by creating maximum number of common which can be reused again & again thereby getting the maximum benefit.

The application scenario files with (*.xls) extension are stored in the application folder corresponding to the particular application.

 

The Sequence File with (*.xls) extension are stored directly in the root folder.

F) Initialization VBScript:

It carries out the following settings for the Driver Script.

1) Setting the Work Area according to user input.

2) Setting the application scenario file for the current run.

3) Setting the object repository.

4) Setting the function libraries.

5) Setting the data source.

6) Setting the test case list.

Once the above settings are completed, Initialization VBScript launches the Driver Script in read only mode, & makes it ready for execution by the user. Thereafter the Driver Script takes over the entire control.

The Initialization VBScript with (*.vbs) extension are stored directly under the root folder.

G) Driver Script:

These Driver Scripts call the “ExecuteScenarioFile” function for accessing the keywords, various objects and all other parameters from the Scenario File and making calls to suitable functions in the function library.

The Driver Scripts are stored directly under the root folder.

 

These Test Case List Files are stored directly under the root folder.

A) Function Library:

1) Containing common functions that are not dependent on the application functions.

 



“ExecuteScenarioFile” is a function present in our common function library & is called from the Driver Script or from outside the function library. This function is used for accessing the keywords, various objects and all other parameters from the Scenario File. This is also used to call other relevant functions as well from the function library. The function library files with (*.vbs) extension are stored in the Function Library folder.

http://www.softwaretestinggenius.com
A Storehouse of Complete Knowledge on Software Testing & QA under one Roof

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
Categories : Keywords

Leave a Comment

CommentLuv Enabled

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.