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 is the code in QTP to take screen shot?

4 Answers   TCS,


What is QTP scenario.

0 Answers   Persistent,


How you handles Pop-up windows which are Dynamically changing in Runtime?

2 Answers  


how to run the script If QTP tool not identify object in web page

2 Answers  


Anybody explain me, the concept of checkpoint declaration in the QTP mainly for the Objects, Pages, Text and Tables ?

1 Answers  






when i am running login page i got test run error? Please give me the script to handle run time exceptions. It's urgent for me.

4 Answers  


Hi, Can anyone help me with: How to select a value from combobox and check the checkbox and set the filter. I have to set a filter by selecting a value from dropdown. Also, im using UFT 11.5 so can anyone help me with code for UFT. Thanks Sreevidya

1 Answers  


Is it possible for QTP to capture the objects in word document.If so please give me the code.Thank you.

2 Answers  


What is the differnce between action & script

1 Answers  


I would like to do some certifications in QTP. please suggese what kind of certifications can i do. I am currently put up at chennai. So please suggest some reputed centres where these courses are offered.

1 Answers  


I learned all the objects of my application in object repository thru English Language. now i want to use same object repository for other languages(French,Dutuch and Chinese)

1 Answers   TCS, Wipro,


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

0 Answers  






Categories