what is framework and types of framework? Need of framework
in automation? write folder strucuture of framework.
Answer Posted / sandeep guttikonda
The word framework tell us it is am outline sketch or it a
planning we do before perfomring the task and also it
indicates what we do too.
Here in QTP frameworks are braodly divided into 4 types:
1) Linear Frmework
2) Action Framework or Modular Framework
3) Data Driven Framework
4) Keyword Driven Framework
Note: Any combination of above listed frameworks known as
Hybrid Framework.
Linear Framework: Here we prepare the script using record
and playback method.
Modular or Action Framework: Here we prepare the script
using Reusable Action. Here we have multiple action in role
play and follows Master Action and Sub actions (Reusable
actions) concept.
Data Driven Framework: Here we drive the script with the
help of data in the sheets.
Example: A login page having username and password and
login button.
We need to test the whether the members of the page are
successfully logging in or not into the page.
Hence here we right the script in one action and test with
multiple test data driving from the sheets.
Keyword Driven Framework: Here we prepare the script by
using the functions and drive the script with the keywords
(function Names).
Hybrid Framework: Most in End to end scenario cases (
System Integration Testing) we will go for Hybrid Framework.
Need For framework is as said above it help for easy
development and maintenance. It also helps for the
continuity of the work (development, BCP).
Folder Structure: This also come under one of the activity
in framework other are like proper naming conventions,
giving comment to the code, Documenting the important
things etc.
Actually we will have a clear floder structre in Quality
Center under Test Plan: Like..
1) Reusable Actions
2) Test Data
3) Recovery Scenarios
4) Functions
5) Master Action
6) Deleted Files
7) Test Log
If you need amy further info, please let me know.
Thanks.
Regards,
Sandeep Guttikonda.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
How can I change object description or check point values in qtp?
How to define array in qtp?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
How are actions and functions different in QTP?
What is quicktest professional window?
What is reusable action?
How many types of actions are there in quicktest professional (qtp)?
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
Explain in brief about the quicktest professional automation object model?
If I change the object name in one action will it be updated in all the actions? Or not?
Is it possible to change the property value at runtime? How it is possible?