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

How did you achieve reusability via QTP?

Answer Posted / shrikant

By just creating a function you can achieve re-usability.

For example: 3 testers are automating an application. All 3 wanted to login. So instead of creating code by all 3 people only one person create login code in a function. That function can be used by other 2. This is also called Modular programming.


Or

In all the web applications common web objects will be there like

1.button--click

2.edit----enter characters

3.radio button---click

4.drop down----select

5.link-----click

6.check box----check in or out

etc........for all the objects make one generic functions add it in library files make use in all the actions this is called as re-useability.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..

4831


Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??

2036


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

1263


Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?

2553


what are all the fileds present in object repository?

1984


In qtp, explain what is crypt object

981


Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,

1806


What is data driver in qtp? Where we use it?

963


Can we run test with out adding object in object repository? How it is possible?

1016


Define Error Pane of UFT?

1051


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

1807


When should I use smart identification?

1032


How to remove the associated function library?

939


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

941


What is object repository in qtp?

967