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 to add synchronisation points in qtp?

0 Answers  


Can you write User defined function for WebEdit ? Note1: This function can be used for all web edits in all pages Note2: Don't use Child objects method

1 Answers   IBM,


will QTP accepts javascript?

14 Answers   AppLabs,


Can we Run the Tests developed in QTP 8.2 in advanced versions like 9.0, 9.1, 9.2...etc.,

3 Answers   ADP,


what is the automation framework that ur company using(actual procedure,not theoritically explination)

1 Answers  






How to set the function parameters as optional. Pls anybody can give the answer.. Thanks in advance...

2 Answers   Navis,


What is a Dictionary object in QTP.?

1 Answers   Cap Gemini,


What is AUT in object reposity in QTP? Why we use it in Object repository???What is full form???????

6 Answers  


difference between waitProperty & Checkproperty

4 Answers   AON,


explain qtp framework by taking an example?

3 Answers  


hello all i need some good sites or blogs which give info abt vb script with examples n real time scenarios.just like tutorials as i m new to qtp n vbscripting. its urgenttt

2 Answers  


Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.

0 Answers  


Categories