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

Describe how Smart Identification is used

1 Answers  


what is the difference between data table and spread sheet?

1 Answers  


in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?

3 Answers   Polaris,


How can we import a Open Office excel file in QTP

4 Answers  


How you debug your script?

1 Answers  


Explain types of output values?

1 Answers  


what are the mandatory properties in qtp? what are the library functions in qtp?

3 Answers   Wipro,


I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

1 Answers  


Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please

1 Answers   IBM,


I want to learn Advanced QTP, suggest me the best faculty in Hyderabad

12 Answers  


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

1 Answers  


how do you do database testing in qtp

5 Answers   NIIT,


Categories