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

What are the various automation frameworks available in qtp?

0 Answers  


How many types of actions are there in quicktest professional (qtp)?

0 Answers  


How to create Reusable and Multiple Actions?

0 Answers  


i can done the project with QTP in that time i can say how many members in my team size?

0 Answers  


How do u fetch data from a database ?

2 Answers  






What is dictionary object? what is the use of it? How you will display all the items in the dictionary object?

1 Answers   Bank Of America,


what type automation is fofollowed in the project?

1 Answers   Satyam,


How to creating an output value using quicktest professional?

0 Answers  


What is the syntax for how to call one script from another?

0 Answers  


what is Function Definition Generator? can any one explain me in details?

6 Answers   Accenture,


Hi experts. I want to create a framework for the Flight Reservation sample application.Can anybody tell me the files and the contents , and how to create them.Thanks

2 Answers   IBM,


In QTP , Test Director combination . what is the role of Test Director? How QTP Launching QTP in T.D ? If it is Winrunner possible. but QTP How it is possible?

1 Answers   IBM, TCS,


Categories