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

Is virtual object supported in low level recording mode?

1155


HOw to add the recovery file at runtime to the test file .

2190


How do client side image and server side image work?

1850


How many types of recording facility are available in quicktest professional?

1102


What is the expert view?

1006


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

1000


What is the difference in the global and action sheet in qtp?

1023


what is Property......End Property loop? how to write sript for it in QTP

2399


How to create Reusable and Multiple Actions?

2197


What test cases can you automate using QTP?

1097


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

2386


Why we load add-ins in qtp?

1106


How to find the name of the machine where you are running your automation scripts in qtp?

1003


Analyzing the checpoint results?

1031


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

1049