Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between per-action and shared?

1191


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

2462


What are the different types of action?

1041


Which scripting language used by quicktest professional?

1022


In qtp, explain what is crypt object

1101


Explain actions in qtp ?

1039


If I change the property value at runtime is it effect is object repository?

1139


What is the difference between analog and low level recording?

1138


How to build scripts that access data from external sources?

2183


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!!

2258


Approach for Installation,comaptibility,system testing

2242


What are the key points to create a framework in QTP for oracle forms?

2306


assume i have few url link how will i dynamically call then using descriptive programming?

2070


How can I check if a environment variable exist or not?

1085


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

1919