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
How to find the length of the string in qtp?
Hi ,Can any one pleas explain how to test splash objects using QTP?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
what is vmodel?advantages and disadvantages of vmodel?
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
Which functionalities of QTP used in banking project? pls any say answer?
How to use reporter.report event in qtp ?
What is the use of Debug Viewer?
In qtp, how you can remove the spaces from string?
In qtp, explain what is keyword driven automation framework?
We stored into the objects OR and then write the scripting
How u will do versioning in QTP?
Explain how qtp identifies objects?
How to handle the exceptions using the recovery scenario manager in qtp?