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 is the difference between per-action and shared?
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
What are the different types of action?
Which scripting language used by quicktest professional?
In qtp, explain what is crypt object
Explain actions in qtp ?
If I change the property value at runtime is it effect is object repository?
What is the difference between analog and low level recording?
How to build scripts that access data from external sources?
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
Approach for Installation,comaptibility,system testing
What are the key points to create a framework in QTP for oracle forms?
assume i have few url link how will i dynamically call then using descriptive programming?
How can I check if a environment variable exist or not?
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that