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
When do go for loop condition in test?
What is checkpoint in qtp?
What is the syntax to call one script from another?
can any one say that where we can download the QTP trail version ??????????
What is the difference between keyword view and expert view?
In qtp, how you can exit for loop?
What is the meaning Work bench?
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
Explain the benefits of quick test pro(qtp)?
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...
How may types of defects identify application or your currently working application?pls give me answer..
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
How to use output values in qtp ?
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
How many types of parameters are there?