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 |
How to find Total no of Text Fields in the Page..Anybody please answer me..Thanks in Advance
Idid my qtp course in 2007 june in mind Q i for got to use this tool ,i want to mention in my resume about this ,how can i rectify this ,pls give me any idea .
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 many maximum number of virtual users we can create?
What are the Automation Limitations??
I open login gmail page after that QTP is not able to identify the object present in it then what u will do
I have test cases in excel sheet but i am using quality center.How can i copy the testcases from excel sheet to quality center?explain this process.
How to suppress warnings from the test results page?
Do we get any issues if we run the testscript on different browsers? what are the options we need to st in QTP?
What is the latest version of qtp?
How to get the particular property value?
What is contained in the object repository?