How to execute a VBS file without using Execute File
statement?

Answers were Sorted based on User's Feedback



How to execute a VBS file without using Execute File statement?..

Answer / johnson

Create one flat file and write script in to that.Save the file to .Vbs extension. Double click on that vbs file. It will execute.

Is This Answer Correct ?    2 Yes 0 No

How to execute a VBS file without using Execute File statement?..

Answer / kishan

We can run a .vbs file using SystemUtil.Run.

Syntax:
SystemUtil.Run "<Path of your .vbs file>"

eg:

SystemUtil.Run "C:\myfile.vbs"

Is This Answer Correct ?    2 Yes 1 No

How to execute a VBS file without using Execute File statement?..

Answer / sangeeta

We can execute it from File-> settings-> Resource Tab. Needs
to map the Vbs file by clicking on the +(plus) icon there.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More QTP Interview Questions

Explain the Keyword View ?

2 Answers   Crea,


how to retreive the xml file data through qtp.can anybody send script for this..

1 Answers   Synechron,


how do u handle an object with out name in our application using QTP 9.2?

0 Answers   CTS,


Can we use same virtual objects in many number of tests?

1 Answers   TCS,


How can we translate the steps between the Keyword and Expert Views?

1 Answers  






Hi, Can any one explain what is mean by Driver Script? is it AOM?

4 Answers   CTS,


what is smart identification?

7 Answers  


Can u Reduce the size of Object repository? What are the problems u have faced in Qtp tool?

2 Answers   IncRev,


WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?

2 Answers  


Explain synchronization types in QTP

2 Answers  


When u r running a script , if u get a popup window that describing that u have received a mail to your outlook application. so to avoid the interference of the popup window , which recovery scenario(popup,object state,application hang,system crash) would u use ?

4 Answers   Accenture,


In how may ways we can use checkpoints to an application using QTP?

3 Answers  


Categories