explain qtp framework by taking an example?
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.
If you need amy further info, please let me know.
Thanks.
Regards,
Sandeep Guttikonda.
| Is This Answer Correct ? | 15 Yes | 1 No |
Answer / sandeepguttikonda
With Some more clarity.
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 ? | 6 Yes | 4 No |
Answer / qtp tester
Check this below link for more details on different types
of frameworks in QTP. You can also download the sample code
snippets for different types of frameworks.
http://www.automationrepository.com/2012/03/qtp-framework-
types-an-introduction/
| Is This Answer Correct ? | 2 Yes | 2 No |
HI ALL, HOW WE INSTALL .NET ADD-IN OR JAVA ADD-IN TO THE QTP? PLZ URGENT.ANSWER ME.
How to capture data from images in QTP and produce them in Excel sheet ? please ans...
what is defenetion of kiran can u tell me plz CVS, SVN
How to export QTP results to an ".xls" file?
Get the count of files of similar types from a folder.
1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = India/Srilanka/Australia/England/South Africa.I need the Output Country wise? [ 1st Msgbox India , 2nd Msgbox Srilanka] ---- 3. How can Choose these test cases to be automated?
Is it possible to merge two object repository files in qtp?
whenever a scenario is recorded ever, it creates a object repository automatically (‘per action’ /local ). we do not need to make them individually…then why we need a shared object repository. How it will be practically utilized ?? your input will be highly appreciated..
what r the main benefits of automation?
c language is thre but what is the purpose of c++, java is there but what is the purpose of Advanced java ....why these are all versions are coming...whta is the problem?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
What is QTP testing process?