I want to run my qtp scipt on the system where qtp is not
installed .I don't want to install qtp but i want that
system should use the qtp from another system in lan just
the qtp instance should be launched on that system without
having qtp installed on it .I probably know the solution
that it will be solved through RMI but how to get this
problem solved plz help i anyone know the answer
Answer Posted / jay prakash
I have not much idea on this but sharing what i had read on
a expert blog, please see if it helps:
'''From http://hisudhakar.spaces.live.com/blog/cns!
8DDF980C45482279!441.entry
'''' Ref:: http://qtp9.blogspot.com/2007/10/running-
automation-scripts-on-remote.html
By default when you can able execute QTP scripts on a Local
Machine. Automation Object Model is providing a facility to
execute QTP scripts on a Remote Machine.
When you use CreateObject("QuickTest.Application"), it is
giving permissions to execute scripts in local machine’s
QTP.
To execute scripts in Remote Machine use
Set qtApp = CreateObject("QuickTest.Application", "Remote
Machine Name")
Before using this statement ensure that the Distributed COM
(DCOM) Configuration Properties of the remote computer are
set to allow you to run QuickTest Professional Automation
from your computer.
Steps to Set the DCOM Configuration Properties on Remote
Machine
On the computer where you want to run the automation
script, choose
Start--> Run. The Run dialog box opens.
Enter DCOMCNFG and click OK. The Distributed COM
Configuration Properties dialog box or the Component
Services window opens (depending on your operating system)
and displays the list of COM applications available on the
computer.
Select QuickTest Professional Automation from the list and
open the Properties dialog box for the application. (Click
the Properties button or right-click and choose Properties,
depending on your operating system.)
In the QuickTest Professional Automation Properties dialog
box, click the Security tab.
In the launch permissions section, choose the custom option
and click Edit.
Use the Add and Remove options to select the network users
or groups for which you want to allow or deny permission to
launch QuickTest Professional via an automation script.
When you are finished, click OK to save your settings.
Repeat steps 5 and 6 for the configuration permissions
section to select the users or groups who can modify
QuickTest Professional configuration options via an
automation script.
In the QuickTest Professional Automation Properties dialog
box, click the Identity tab and select the interactive user
option.
Click OK to save the QuickTest Professional Automation
Properties settings.
Click OK to close the Distributed COM Configuration
Properties dialog box or the Component Services window.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
How you can make an action as re-usable action?
How to suppress warnings from the test results page?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
What does mean by Scope of Automation?n How we defined it?
What is object spy in quicktest professional?
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
What is the extension of the recovery scenario file in qtp?
Differences between quicktest professional (qtp) and winrunner?
How many scripts did you have?
explain how to write vb script in qtp?when will you write own script?
Mention the test steps of qtp.
Explain in brief about the qtp automation object model (aom).
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
How did you use regular expressions in QTP and also in WR?