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

What is a Run-Time Data Table? Where can I find and view this table?

4 Answers  


what is run action?

0 Answers  


How many types of Parameters are available in QTP? and Pls Explain with example.

4 Answers   LG Soft,


how to get the object property

4 Answers   Covansys,


Could you please suggest a book to start with QTP and also a book for advanced concepts?

2 Answers  


pls help me with scripting,right from the beginning in QTP

1 Answers  


I want to check in the data table(Globalsheet) column exist or not through script .If column not exist only proceeded to next step Pls tell me how to proceeded?

5 Answers   Syntel,


Explain different recording modes?

0 Answers  


How may types of defects identify application or your currently working application?pls give me answer..

0 Answers   Cap Gemini,


how qtp identifies objects of application.

5 Answers   Intel,


Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)

0 Answers   IBM,


tell me about framework types and most used framework in real time. types of output value in details. diff between wr and qtp in detail.

2 Answers  


Categories