what happen in object repository(shared)if we call an
existing action from an external action ? and what happen
in object repository(peraction)if we call an existing
action from an external action ?
Answers were Sorted based on User's Feedback
Answer / uday kumar_anem
If the calling test uses a per Action Object Repository,
then:
1. QTP cannot call Actions that use a shared Object
Repository.
2. QTP can call Actions that use a per Action Object
Repository, but it will be read-only.
3. QTP can call copy Actions that use a per Action Object
Repository.
4. QTP cannot copy Actions that use a shared Object
Repository.
If the calling test uses a shared Object Repository, then:
1. QTP can call Actions that use the same shared Object
Repository as the calling test.
2. QTP can call Actions that use per Action Object
Repositories.
You can instruct the external Action to refer to its own
Action repository or to use the same shared Object
Repository as the calling test. You do this in the External
Action tab of the Action Properties dialog box.
3. QTP can call Actions that use a different shared Object
Repository than the one used by the calling test.
The called Action will use the calling test's shared Object
Repository.
4. QTP can copy Actions that use shared or per Action
Object Repositories.
QTP only copies in the Action, not its corresponding Object
Repository.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / lcsekhar
As you said, the existing action already recorded the
objects into object repository pertaining to the when you
call the external action,it will added the objects to the
existing one
| Is This Answer Correct ? | 2 Yes | 1 No |
I have recorded a test using qtp to download a file in an application. Code: Browser("MFA Work Queue Manager").Page("MFA Work Queue Manager").Link("Rules Maintenance").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebEdit("txtSearch").Set "PmtType" Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Search").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Export").Click Browser("MFA Work Queue Manager").Dialog("File Download").WinButton("Save").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").Sync Dialog("Save As").WinButton("Save").Click Dialog("Save As_2").WinButton("Yes").Click Problem: When running this test it gives an error at line no. 5 as Save button object is not identified by it's parent object. This code I ran 4 times after recording at it was working fine but 5th time onwords, it starts giving me the above problem. I used exist property option, Check Property option but none of this changes work at all. Kindly help...
Did QTP prove efficient for your project? Yes or No, explain?
Is it possible to split an action? How?
how to parameterise a test with data base table or excel sheet?
What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.
How to give Table check points?
How many ways we can parameterize data in QTP?
Is there any option in QTP to add Java add-in after instaling the QTP?
What is the Limitations of Testing ?
Hi... Can anybody help me to write the vbscript for this question..!!! Am having a string "HELLO WORLD", i want to find how many "L"s are there.....????? --> HANEEF <--
Is it possible to run QTP scripts created in IE 6.0 in IE 7.0?
How to use QTP for Regration testing, plz tell as with short Example of login window? plz tell as....