Object Repositories types, which & when to use?
Answers were Sorted based on User's Feedback
Answer / geena
Two types of objRepo
1. Local Objrepo
2. Shared Objrepo
When you create you script you find local objrepo and if
you need to use previously created repository than it is
useful to Shared Objrepo.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramyab.mca@gmail.com
Hai....
To choose the default object repository mode and the
appropriate object repository mode for each test, you need
to understand the differences between the two modes. In
general, the object repository per-action mode is easiest
to use when you are creating simple record and run tests,
especially under the following conditions:
- You have only one, or very few, tests that correspond to
a given application, interface, or set of objects.
- You do not expect to frequently modify test object
properties.
- You generally create single-action tests.
Conversely, the shared object repository mode is generally
the preferred mode when:
- You have several tests that test elements of the same
application, interface, or set of objects.
- You expect the object properties in your application to
change from time to time and/or you regularly need to
update or modify test object properties.
- You often work with multi-action tests and regularly use
the Insert Copy of Action and Insert Call to Action options.
K,Byeeee.....
Thanks & Regards
B.Ramyasri
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / akshay kumar
Deciding Which Object Repository Mode to Choose.
To choose the default object repository mode and the appropriate object repository mode for each test, you need to understand the differences between the two modes.
In general, the object repository per-action mode is easiest to use when you are creating simple record and run tests, especially under the following conditions:
You have only one, or very few, tests that correspond to a given application, interface, or set of objects.
You do not expect to frequently modify test object properties.
You generally create single-action tests.
Conversely, the shared object repository mode is generally the preferred mode when:
You have several tests that test elements of the same application, interface, or set of objects.
You expect the object properties in your application to change from time to time and/or you regularly need to update or modify test object properties.
You often work with multi-action tests and regularly use the Insert Copy of Action and Insert Call to Action options.
| Is This Answer Correct ? | 0 Yes | 0 No |
what are the different data driven types?
Explain getroproperty and gettoproperty & settoproperty?
How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?
How to find the path of folder in which the test is saved in qtp?
What is iteration?
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?
How to send QTP scripts to our colleagues?
Hi, I want to write the script for a webpage. But i didn't added the properties of the objects to the object repository. Without adding the object properties to the object repository, how to write the script. When i am writing the script, Let us say i typed as Browser (""). after selecting ".", if the object is added to the object repository it will display atomatically. But in my case it is not as i didn't added the object properties. How to proceed further in the above mentioned case to write the script manually. Pls let me know if you didn't understand the question.
what is the difference between function and subroutine ....here every one knows theoretically...here my QUESTION IS WHAT IS THE MEANING OF FUNCTION CAN RETURN A VALUE AND SUB CAN NOT RETURN A VALUE .....WHAT DOE'S IT MEAN FUNCTION CAN RETURN A VALUE HOW FUNCTION CAN AND SUB CAN'T ....GIVE A EXAMPLE FOR BOTH ....HOW IT CAN AND CAN NOT...HELP ANDY ONE....
Can you write User defined function for WebEdit ? Note1: This function can be used for all web edits in all pages Note2: Don't use Child objects method
Explain Descriptive Programming Types with Examples?
how do you find the number of occurences of string QTP from the expression , " QTP+QTP=2QTP"