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 |
wt is playback facilityin qtp?
how u write vb script in qtp pls give me some basic script and some material
32 Answers Datamatics, UHG, Winit,
What is the difference between byref and byval in qtp?
what the difference between shared repository and per action repository?
How to export data present in Datatable to an ".xls" file?
What is the use of text output value in quicktest professional?
BEst INstitute for QTP & SELENIUM
How to capture screenshots of Exceptions/Errors during run- time?
I have a login page like username, password and login. I have to pass the 50 user names and 50 passwords but how can i test this page with out using parameters?
What are the main attributes of test automation?
setroproperty and getroproperty difference
Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?