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
Is virtual object supported in low level recording mode?
HOw to add the recovery file at runtime to the test file .
How do client side image and server side image work?
How many types of recording facility are available in quicktest professional?
What is the expert view?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
What is the difference in the global and action sheet in qtp?
what is Property......End Property loop? how to write sript for it in QTP
How to create Reusable and Multiple Actions?
What test cases can you automate using QTP?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
Why we load add-ins in qtp?
How to find the name of the machine where you are running your automation scripts in qtp?
Analyzing the checpoint results?
How can I check if a environment variable exist or not?