What is data driven testing in QTP?
Answer Posted / guruprasad
Simple, the execution path is driven based on the data
residing outside the script.
You could script in such a way that the functionality that
need to be tested cane be decided outside the script, and
pass the appropriate data to drive the execution.
For example:
You can have a switch case in your script to test
1.Links
2.Login field
3.Pwd field
4.Login button
Now your data sheet will contain 2 fields with multiple
rows. One field for the option (1/2/3/4) and the other for
the data to be used.
Now in the beginning of the script you would load the excel
sheet retrieve the data iteratively pass it to the switch
case. Now, you have the ease of deciding what needs to be
tested with what data outside of the actual script.
Hope that helps...
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are the different types of recording modes in qtp? Which will be used when?
How many types of recording modes are there?
What is the recovery scenario in qtp?
What is the expert view?
Difference between action & Reusable action?
What are the advantages of a Hybrid framework?
how to test Web application using QTP software
In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
Explain the qtp test phases.
To which environments does quicktest professional (qtp) supports?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
Explain more about the Test Fusion Report of QTP?
What is the difference in the global and action sheet in qtp?
Is qtp supports uni-code?