How did you achieve reusability via QTP?






How did you achieve reusability via QTP?..

Answer / 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




More QTP Interview Questions

How many ways we can parameterize data in QTP?

1 Answers   Crea,


Plz explain about object propeties in object identification? means.. explain about 1. mandatory properties.2. assestive properties 3. ordinal properties.

3 Answers   TCS,


How to invoke QTP through VBscript?Send me full code along with description of the code.Thanks in Advance

1 Answers   Capco,


Synchronizing test

3 Answers   Wipro,


What type of error u will get if u have not installed java add in in java project? what is the error name ?

1 Answers   Verizon,






What is the difference between gettoproperty and settoproperty?Explain with an example?

4 Answers   Satyam, QQS,


what is object and child object.. explain ..if possible give some example for better understanding ..

0 Answers   HCL,


How to make arguments optional in a function?

0 Answers   Crea,


difference Between Call Run action and copy of action?

3 Answers   Quest,


hi friends i was tried to connect qtp with oracle database using provider.i got a error.so anyone can help me out by correct script

2 Answers  


how can we handle errors other than using recovery scenerios in qtp

0 Answers  


How can we translate the steps between the Keyword and Expert Views?

1 Answers  






Categories