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

How to count the no of objects in XML file(QTP)

1 Answers   IBM,


Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?

1 Answers  


How many ways we can parameterize data in QTP?

6 Answers   Liquid Crystal,


write a script for get the following result: username password frm the string1="A=username" string2="B=password"

3 Answers   Oracle,


There are 4 webpages in an application, in third page there is one cancel button i want to click that cancel button only, how can I click that cancel buttton ?

4 Answers   Wipro,






In Test Director , You can store Test cases or vb Script . Why we need VSS?

2 Answers  


Explain about the test fusion report of quicktest professional (qtp)?

0 Answers  


how your doing reporting in your script?

1 Answers   IBM,


How can i check elements sorted in dorpdown using qtp..

1 Answers   Value Labs,


Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?

0 Answers   CTS,


In qtp, explain what is crypt object

0 Answers  


wht is Manual Testing Frame work. Pls anybody can give appropriate answers

0 Answers   Satyam,


Categories