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

thorwathModerator
Veteran


Reged: 07/22/99
Posts: 3840
Loc: Grand Rapids, MI
Re: how to run .VBS file through CMD
      06/23/09 03:53 AM

Quote:

I want to run the .vbs file which i have created for batch run i.e batch.vbs(it will execute all script) Do any body know the method or syntax.need it ASAp




I notice the original poster (question above) has been silent while those of us prattle on about using vbScripts in the Windows Scripting Host (WSH) environment, which supports the built-in wscript object and all of its methods like .run and .exec. But that object is not available in QTP's runtime environment--there your only option is to use its [less robust] SystemUtil.Run method.

But now I am wondering if the original poster's question is "how do I invoke QTP externally from a vbScript..."? If that is the case then refer to QTP's QuickTest Professional Object Model (AOM) Reference guide (which is online with the QTP Help guide).

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* how to run .VBS file through CMD pateriya 06/22/09 05:53 AM
. * * Re: how to run .VBS file through CMD thorwathModerator   06/23/09 03:53 AM
. * * Re: how to run .VBS file through CMD Gaurang_Shah   06/22/09 06:07 AM
. * * Re: how to run .VBS file through CMD JustHuman   06/22/09 10:09 AM
. * * Re: how to run .VBS file through CMD KrishnaD   06/23/09 12:06 PM
. * * Re: how to run .VBS file through CMD tarunpandey4   06/23/09 09:57 PM
. * * Re: how to run .VBS file through CMD thorwathModerator   06/22/09 10:36 AM
. * * Re: how to run .VBS file through CMD JustHuman   06/22/09 10:56 AM
. * * Re: how to run .VBS file through CMD JustHuman   06/22/09 10:57 AM
. * * Re: how to run .VBS file through CMD thorwathModerator   06/22/09 05:48 PM
. * * Re: how to run .VBS file through CMD JustHuman   06/23/09 05:08 AM
. * * Re: how to run .VBS file through CMD thorwathModerator   06/23/09 08:23 AM

Extra information
0 registered and 93 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: 3104

Rate this thread

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5