Answer Posted / 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 View All Answers
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
what are all the fileds present in object repository?
In qtp, explain what is crypt object
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,
What is data driver in qtp? Where we use it?
Can we run test with out adding object in object repository? How it is possible?
Define Error Pane of UFT?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
When should I use smart identification?
How to remove the associated function library?
How you can find the absolute value of the number in qtp?
What is object repository in qtp?