Can any body explain me how to prepare QTP frame work with
an example?? alexander.gdk@gmail.com
Answer Posted / 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 View All Answers
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
Analyzing the checpoint results?
Explain calling sub procedure.
What is an expert view and keyword view?
How do you send email with attachment from outlook using qtp ?
On what document base Descriptive programming is written if build is not yet ready ?
Explain how you can find length of array in qtp?
How does quicktest professional identifies the object in the application?
How many tabs are available in debug viewer pane?
Did the scripts need lot of maintenance? If yes, why?
What is accessibility check point?
How to find the difference between 2 dates in qtp?
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
How would you directly trigger javascript in a test?