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
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
what is the difference between development and testing
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
How do you check ticket cost and ticket number in flight application?
We stored into the objects OR and then write the scripting
Explain the difference between check point and output value?
what type of run time errors you get while you ar edoing rpg program?
How to handle dynamic objects in quicktest professional (qtp)?
how u will evaluate the tool for test automation?
what is the difference between IE & Netscape in web testing on a log in page
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
How we can import data from database?
Plz Explain AUTOMATION REFERENCE MODEL?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?