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 development and testing

3690


ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS

1972


how to convert 100 into hundred repees only and viceversa

1901


What is Cross browser testing? Does UFT support it?

1114


can u please explain what is the exact difference between qtp8.2 and 9.0

2162


What is the differences between image check point and bit map check point?

1068


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

2025


Explain how you can find the absolute value of the number in qtp?

1087


How you can find the absolute value of the number in qtp?

999


Explain the use of action split in qtp?

1108


Approach for Installation,comaptibility,system testing

2188


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

2298


what could go wrong with test automation?

2060


How does qtp identify gui object?

998


What is checkpoints for qtp?

964