Can any body explain me how to prepare QTP frame work with
an example?? alexander.gdk@gmail.com



Can any body explain me how to prepare QTP frame work with an example?? alexander.gdk@gmail.com..

Answer / maseed

In QTP There are $types of frame works
1---Linear
For the beginers we use this type of testing
2---Modular
when ever we have reusability we use this modular frame work
login is a reusable fn for gmail, or yahoo we can save it in a drive for calling when ever you want in the current function
3--Data Driven
4---Keyword driven
For example Take E-Banking Admin Login , Banker Creation

Data Driven

we can use data driven for the parametrisation , means
Take Excel sheet Take Two columns as Uid,Pwd
Save Excel sheet in a drive
1'Add sheet to the data table
2'import data table of Existing sheet in to New sheet
3'Row-count
4 Assign variables
a = datatable.value ("uid","New_Sheet")
b = datatable.value ("pwd","New_Sheet")
Browser().Page().WebEdit(UserName).set a
Browser().Page().WebEdit(UserName).set b

Keyword Driven
we have three sheets in the excel
1--- module
2----testcase
3----keyword
we have to comare all three sheets
we use if statements in this frame work
if mexe = y then
we compare all three sheets in keyword driven to open the application
we use functions in this frames work , we call function names in the action to execute the script.............

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

scalability testing comes under in which tool?

4 Answers   EpuraTech,


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

0 Answers  


Explain QTP using different development techniques ?

0 Answers  


how can we call an external library file in QTP apart from using the Executefile statement..?? is there any other way we can call the external library file in QTP..??

2 Answers   DST Global Solutions,


For which type of project the iterative model is suitable?

0 Answers  






What is the life cycle of QTP? Pls Give me Exact answer?

6 Answers   Google,


How to export QTP results to an ".xls" file?

3 Answers  


What are the various automation frameworks available in qtp?

0 Answers  


On what document base Descriptive programming is written if build is not yet ready ?

0 Answers  


we r conduction testing on a project USING QTP, regarding that project the object repository is full ? Till that project having objects that r not recognised by repository, then what wil you do? How we wil recogine remailning objects? Is it possible to maintain another shared(or)peraction repository? what is the maximum capcity of object repository? How the technical people decide this much object repository is enoughf for this project?

7 Answers   AppLabs, CGI,


What is the difference between wait and synchronization point?

3 Answers  


What is TOM in QTP?

0 Answers  


Categories