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 r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
What is the Difference between test object and run time object?
What is synchronization point in QTP?
How the exception handling can be done using quicktest professional (qtp)?
What is parameter in qtp?
What is the difference between local and shared object repository in qtp?
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
How you can decide which type of object repository you have to use?
how can we do the frame work in qtp
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
How you know that a test case is a regression test case