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 can i change the action path that called in other action. when i copy one action to other pc,the action"test2" calls another action(C:\test1\action0),and i update this"test1",the folder update to "action1",but when i open "test2", it just point the call path to "C:\test1 \action0", but does not update to "action1",and the change i make can be shown in test2. so, can i update the call path manully? thanks

2 Answers   HP,


If 3 browsers are opened in our system, how to enter the facebook url into second browser by using descriptive programing

3 Answers   Mind Tree,


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

0 Answers  


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

0 Answers   Wipro,


After Creation of your QTp frame work, The folders are saved in VSS or Other. plz explain brifly?

3 Answers   Infosys,






How to analyzing test results using quicktest professional?

0 Answers  


Which statement will use for close an action in QTP?

0 Answers  


what we do after completion of functional and regression testing

2 Answers  


Syntax for how to call one script from another? and Syntax to call one "Action" in another?

2 Answers  


Where you are storing your script?

0 Answers  


How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

0 Answers   L&T,


which type of testing process are you following in ur company? how to recognize a qtp page?

0 Answers  


Categories