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
Diff b/w Health care domain and Banking Domain?
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
How to record application running on the Virtual machine?
How do client side image and server side image work?
what are the limitations of smart identification in qtp 9.0
What is QTP and the use of QTP in TD?
What will be happen if i load object repository at run time, but it has already associated.
What is the quicktest professional (qtp) testing process?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...
What is Unicode Compatibility?
Explain actions in qtp ?
Diff b/w test scenario's and test Procedures?
Are Shared ORs read-only?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?