Test Library Architecture Framework,Hybrid Test Automation Framework

Test Library Architecture Framework:
In this framework,test scripts are initially recorded by "Record and Playback" method. Later, common tasks inside the scripts are identified and grouped into Functions. These functions are called from the main test script called Driven in different ways to create test cases.

For example, we can take the login feature.We'll have the following steps involved when using Test Library Architecture Framework.

Step#01: Recording steps by using Recording mechanism.
SystemUtil.Run "Flight.exe","","","Open"
Dialog("Login").WinEdit("UserName").Set "u_aaaa"
Dialog("Login").WinEdit("Password").SetSecure pwd
Dialog("Login").WinButton("OK").Click

Step#02: Group the above steps and convert as a function.
Function Login()
SystemUtil.Run "Flight.exe","","","Open"
Dialog("Login").WinEdit("UserName").Set "u_aaaa"
Dialog("Login").WinEdit("Password").SetSecure pwd
Dialog("Login").WinButton("OK").Click
End Function

Step#03:Call the function created in Step#02 in the main script as follows.
Call Login()

Like the above function call we can have calls for n-number of function in the main script.

We have the following advantages:
  • We can achieve the higher level of code reuse in Structured Scripting as compared to "Record & Playback".
  • Cost for developing the script is very less due to the higher code re-use.
  • We can maintain the script easily.
We have the following disadvantages:
  • More technical expertise is necessary to write  Scripts using Test Library Framework.
  • More time is needed to plan and prepare test scripts.
  • Test Data is hard coded within the scripts
Hybrid Test Automation Framework:

As the name suggests this framework is the combination of one or more frameworks by pulling the strengths and trying to mitigate their weakness. This framework is what most frameworks evolve into over time and multiple projects. Most of the industry uses Keyword framework in combination of Function decomposition method.

We can have any combination of the frameworks based on the requirements and application under test's behavior.
SHARE

About அமரகோசம்

    Blogger Comment
    Facebook Comment

3 comments:

  1. Hello,
    The Article on Software test Library architecture framework .thanks for Sharing the information about it Software Testing Company

    ReplyDelete
  2. Really nice topics you had discussed above. I am much impressed. Thank you for providing this nice information here. And if you are looking for the best game compatibility testing choose with our QA Services

    Compatibility Testing Services

    Functional Testing Services

    ReplyDelete
  3. Thank you so much for this nice information. Hope so many people will get aware of this and useful as well. And please keep update like this.

    Video Game Testing Solutions

    AR VR Game Testing Services

    ReplyDelete