i have execute your code as a extension.vbs and it is working fine

On Wed, Dec 19, 2012 at 5:22 PM, <[email protected]> wrote:

> Are you running this fromQTP or a vbs file?
>
> On Dec 19, 2012, at 1:45 AM, Ravi kiran <[email protected]>
> wrote:
>
> Hi,
> getting object does not support property or method error message is coming
> in the below code. Please provide me solution, how to get message in
> command prompt.
>
> Set objNet = WScript.CreateObject("WScript.Network")
>   WScript.Echo "Your Computer Name is " & objNet.ComputerName
>   WScript.Echo "Your Username is " & objNet.UserName
>
>  --
> 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
>
>  --
> 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
>



-- 
Thanks & Regards
Chaman Kalra
Email :[email protected]

-- 
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

Reply via email to