Hi , Its not like on system B also should hav QTP to test...
I am testing on remote system where its for monitoring the system... But
problem I am facing is while fetching the process/ Services of system B,
Can any one share code to fetch process of remote system...
strComputer = "REMOTE-MACHINE100"
Dim Process, strComputer
Process = ""
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Set colProcess = objWMIService.ExecQuery _
("Select * from Win32_Process")
count = 0
For Each objProcess in colProcess
Process = Process + vbnewline + objProcess.Name
count = count + 1
Next
Print Process
Set objWMIService = Nothing
Set colProcess = Nothing
In this script strComputer = "." reperesents local system,.. its fetching
process for local system if is give IP of remote system showing access
denied may be authentication problem... plz any one let me know..
On Friday, August 10, 2012 5:03:58 PM UTC+5:30, Akhalesh Yadav wrote:
> without qtp you can't execute or run your script so first you need to
> intsall qtp on system B
>
> On Thu, Aug 9, 2012 at 11:11 PM, lokesh vinu <[email protected]<javascript:>
> > wrote:
>
>> QTP and application must be installed in same system... even if the
>> application is in remote and QTP in local or vice verse it wont work..
>>
>> On Thu, Aug 9, 2012 at 5:04 PM, shashank shekhar raj <
>> [email protected] <javascript:>> wrote:
>>
>>> This is QTP Limitation .......
>>>
>>> You have to install QTP on machine in which ur AUT to be tested.
>>>
>>>
>>>
>>>
>>> On 9 August 2012 16:09, DNDChennai <[email protected]
>>> <javascript:>>wrote:
>>>
>>>> Hi All,
>>>>
>>>> Below is my scenario;
>>>>
>>>> I have 2 systems-System A and System B
>>>>
>>>> In System A, i have QTP installed and in System B i dont have QTP
>>>> installed, but the application to be tested is available only in System B.
>>>>
>>>> Q1 - How do i identify objects on the application in System B from
>>>> System A.
>>>> Q2 - Even if iam able to identify objects and write scripts for the
>>>> same, how do i run the scripts on System B in order to test the
>>>> application.
>>>>
>>>> Your valuable suggestions would be of much help.
>>>>
>>>> Thanks,
>>>>
>>>> DNDChennai
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> "QTP - HP Quick Test Professional - Automated Software Testing"
>>>> group.
>>>> To post to this group, send email to [email protected]<javascript:>
>>>> To unsubscribe from this group, send email to
>>>> [email protected] <javascript:>
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/MercuryQTP?hl=en
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> "QTP - HP Quick Test Professional - Automated Software Testing"
>>> group.
>>> To post to this group, send email to [email protected]<javascript:>
>>> To unsubscribe from this group, send email to
>>> [email protected] <javascript:>
>>> For more options, visit this group at
>>> http://groups.google.com/group/MercuryQTP?hl=en
>>>
>>
>>
>>
>> --
>> Thanks & Regards
>> Lokesh K
>> www.testautomateandenjoy.blogspot.com
>>
>> --
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>
>
>
>
> --
> Akhalesh yadav
> +919555717928
> +919310680659
>
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en