what is framework and types of framework? Need of framework
in automation? write folder strucuture of framework.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / qa guy
Framework is a set of assumptions,concepts to support
software test automation. There are many frameworks like
Data Driven, Keyword Driven, Hybrid etc.
Need for a framework is for ease of development and maintenance.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / k.nagapawan
i giving idea, it is floder archieture,
folder divided into
sql for folder
testcase for one folder
vbscript one folder.....
| Is This Answer Correct ? | 0 Yes | 7 No |
Write a QTP script to print all the link names displayed in a web page
What is meant by Environmental variables?2 types r there know…can u pls explain clearly?
What does mean by Scope of Automation?n How we defined it?
How to execute a WinRunner Script in QTP?
how to handle the textboxes where in it should take the sum like ex:: while posting a question in this site it will for what is the result of 6+3=__ where in we have to enter manually 9 and click on submit... but how to handle these cases in qtp.. can someone plz help me out wid dis...
how to retrieve the value from data table to the script and using the value to be displayed in message box. an also retrieve the value of the output value during runtime to the script or separating and using that value in the script.
What will be happen if i load object repository at run time, but it has already associated.
can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???
how i can delete the excel process for the task manager using QTP
plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH
What is the Obect Repository type, we use in Automated Testing..in Real time.. Pls anybody can give the answer.. Thanks in advance...
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?