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 |
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
What are the Latest Feature are added In QTP 9.2?
what is web application and client server application.is there any difference ?
When testing a web application, the url for each page changes, so using QTP how do u handle this scenario. If anyone knows please answer in detail about the whole procedure. Thanks a lot.
what type automation is fofollowed in the project?
How can you handle exceptions in qtp?
I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop the execution i want to continue the execution up to last line and display the test result window, wts the syntax we use?
3 Answers BirlaSoft, Collabera,
how to record/identify the webedit box/object which have drop down list and its changing simultaneously in qtp..
1 Answers Synchronoss Technologies,
What’s the QTP testing process?
I know the Basic QTP. But I wanted to learn descriptive programming in QTP. Without Object Repository how we can develop a script? I wanted to do one real time project using QTP. If you know this type of training is available in pune then let me know the address.
How can we record an edit box in the Web application ?
Is it possible to call out to Java from QTP?