In a shared Object Repository in QTP if some object is
changed how can the other script which is using the same
object can be known
Answers were Sorted based on User's Feedback
Answer / rajesh
Here question is regarding object change in shared OR, it
can be interpreted in two ways.
case1: Change in object name.
case2: Change object properties.
-In case1 other scripts referring the object, here the
impact is severe and should be modified manually.
-In case2 other scripts referring the object, here there is
no impact and the scripts will be using the updated
properties.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rana banerjee
One way to figure out the impacted scripts is to do a
search in the script.mts files for the object with the
original object name.
| Is This Answer Correct ? | 1 Yes | 0 No |
If Object name changed, no problem. If Onject properties changed, then go to Object repository -> Import Shared Respository -> Enable editing
click on "Update from application" -> Save
Now all th updated properties will added to shared repository.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / pradeep
u can always use the test script wizzard.
this is the tool that is provided in the s/w to
automatically study the GUI and provide the user/test
script creator the correct logical name for the new objects
that it recognizes.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / uday kumar_anem
Here is my answer...
If you change object name in shared OR, then QTP
automatically changes the object name in the script/scripts
that are using the shared OR.
| Is This Answer Correct ? | 1 Yes | 4 No |
How do you capture tooltip using QTP?
How to record application running on the Virtual machine?
In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP identify the 3rd OK button while running script? Is qtp identify 3rd ok button?
Write a script to delete the a specific row (say 3rd) in a webtable.
What is ObjectParamater?
How can I find out whether a word in a string is existed or not for example "QTP IS A POWERFULL TOOL FOR AUTOMATION" How can i find out whether "powerfull" is existed in the above string or not Could anyone answer it?
How to write business scripts using object repository with different scenarios
what is framework? which frame work u follow for writting script?
write the regular expression for date format of mm/dd/yy?
10 Answers CTS, HCL,
Can we add the objects of an application dynamically?
2 Answers KEN Group, LD College,
If there are 10 notepads opened on desktop. how can we close a particular 2nd notepad using script
Hi, My problem is as follows. I recorded a script that created Object repository of each action i recorded. But later I added one more step (which was to enter data in a textfield) into the script through expert view. But as no repository for this newly added step exists in the test, my script fails. So please help me to sort this problem that how can I create object repository of a new step in an existing test. Thanks everyone