To design a framework we need to concentrate on the following factors.
2. Libraries for UI objects.
3. Design classes based on application under test.
4. Plan for test execution approach to minimize the time.
5. Design report generation.
6. Prepare a Step table and step suite.
7. Prepare a Data set where ever needed
8. Design Keyword Driven action fixtures
Frame work has several types and most popular are the below
a.Keyword driven frame work
b.Data driven driven frame work
c.Hybrid framework
Key word Driven Frame work
Keyword driven framework is an action based test method used in planing and implementation of automation.
Sample Keyword Driven Table:
Module: Login
Sl.No | Element ID | Action | Data | Goal |
1. | Txt_login | Type | 5_Kings | |
2. | Txt_Password | Type | 84#nu2| | |
3. | Txt_ConfirmPwd | Type | 84#nu2| | |
4. | btn_Save | Click | Success Message |
Data Driven Framework:
Data driven is the design of possible inputs what may given by the end user. This would cover maximum probabilities of an input data. It can be Spread sheet or sql. We have to connect and pass the values to the respective field or element.
The data should be designed by the experienced person on the project. It may be a client or even non technical person but should be more familiar with end user prospective.
We have to map the file path properly.
Hybrid Framework:
Hybrid Framework is nothing but the combination or the collection of some frame work based on the frame work developer we can call it as hybrid framework.
No comments:
Post a Comment