explain qtp framework by taking an example?

Answers were Sorted based on User's Feedback



explain qtp framework by taking an example?..

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

explain qtp framework by taking an example?..

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

explain qtp framework by taking an example?..

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

Post New Answer

More QTP Interview Questions

WHAT IS ETL TESTING.......

2 Answers  


How will you check that your test cases covered all the requirements?

0 Answers  


IF THE GUI OF APPLICATION IS CHANGED THEN IS THERE ANY NECISSITY TO CHANGE OR UPDATE OUR TEST SCRIPTS

2 Answers  


What is Virtual Users?

1 Answers   Crea,


How can i open 5 multiple browser at once through QTP VB script and i want to login with 5 different credentials i already tried with this code but its entering credentials only for first browser and am using datatable to parameterize

2 Answers  






QTP 1.What type of bugs u commonly find in u r project? 2.what is agile testing explain with example? 3.application is given req n functionality r missing then how can u start testing? 4.what r the types of defect tracking tools? 5.what is functionality testing? 6.what is change req how u use it? 7.diff bet gul n functional testing? 8.test cases for IE 6.0? 9.where do u store test cases? 10.what r design objects in qtp? 11.what r 5 types of objects in qtp? 12.how to change .mtr to .tsr n vice versa? 13.in which situations qtp will not recoznize objects? 14.how to call .vbs fuctions, library files in qtp? 15.if 10 windows r ope write command to close all windows in qtp? 16from what stage u start automation in u r project? 17.what is VSS? it is usedin automationr manual? 18.size of object repository? 19.how to conduct GUI testing n performance testing on MS-Word? what r performance TEST CASES? 20. use of virtual objects explain? 21.how to connect buzilla with qtp? 22. what is API ? 23.how to merge 2 object repositories in qtp? 24.what is recovery scenario manager? 25. diff bet link n hyper link? 26.diff bet test case n test case scenario? 27.what is relational testing? 28.where do we write test cases? 29.what is base line in testing? 30.what r key process areas(KPA) in u r company? 31.what is hot fix? 32.what is sql injection? 33.what is valnerability? 34.what is TOM in qtp? 35.can we do qtp testing with out creating objects in object repository? can we completely write code in expert view only? 36.where we cant do automation testig? give example using OR is a advantage r a disadvantage?

6 Answers   IBM,


what is smart identification?

7 Answers  


If i entered 2 columns and 4 rows inputs in DDT Like Mango fruit, Banana Fruit, Brinjal Veget, Carrot Veget.. . My Q is How to get the 2nd column value for corresponding 1 column input in 3rd row ie, ( i need to get "veget" in messge box @ run time

5 Answers   CTS,


I came across Good question ..... Write a script to only download pdf's if there are 20 links on a page. Kindly reply these type of questions are pretty challenging..

4 Answers   Keane India Ltd,


What is Regular Expressions?

2 Answers  


What is the difference in the global and action sheet in qtp?

0 Answers  


Do you have any knowledge about Business Processing Testing in QTP

1 Answers   TCS,


Categories