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 ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

1441


Do you know how to connect database? Can you tell me the procedures?

557


How to create runtime property for an object?

1456


When to use descriptive programming?

597


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1370






Where you get the run time data table?

591


Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please

1527


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1368


hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this

1520


How many lines of code in each script of QTP?

4038


What is quicktest professional (qtp window?

600


Did QTP prove efficient for your project? Yes or No, explain?

6124


I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?

1571


How many types of recording modes are there?

602


For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?

1754