The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> HP Functional Testing / Mercury QuickTest Pro / QTP

magqtp
Newbie


Reged: 03/17/08
Posts: 11
Issue on working with WshController object
      04/23/08 07:17 AM

I want some scripts to run on a remote server. I searched this form and came to know that we can use "WshController" object. Getting error as "Permission Denied".

Here is the code i used:
Dim objController, objRemoteScript
Set objController = CreateObject("WshController")
Set objRemoteScript = objController.CreateScript("C:\Test.wsf", "SERVERNAME")
objRemoteScript.Execute

However to access the server have to use Username and password. Wondering how to pass this info in the script.

Please let me know how to proceed.

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* Issue on working with WshController object magqtp 04/23/08 07:17 AM
. * * Re: Issue on working with WshController object Tarun LalwaniModerator   06/29/08 12:15 PM
. * * Re: Issue on working with WshController object AndySQA   08/22/09 06:57 AM

Extra information
0 registered and 89 anonymous users are browsing this forum.

Moderator:  IanFraser, Rajkumar_Rajangam, thorwath, TReddy, AJ, Tarun Lalwani, mwsrosso 



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 1451

Rate this thread

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5