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

Define object spy ?

0 Answers  


Have you worked with QC?

1 Answers   Satyam,


write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

0 Answers  


how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script

2 Answers  


what function you write to do database testing with the help of qtp?

0 Answers  






In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

0 Answers  


If I want to run more than one test (With different functionality) with in one script, then what i do? plz. explain with any example.

4 Answers  


how u conduct GUI testing and PERFORMANCE testing on MS- WORD? and What r the GUI Test Cases and performance Test Cases?

3 Answers   Accenture, Civil Service, ICICI, Jintek, Satyam, Singularity, Syntel, TCS, Wipro,


What is the extension of the qtp local repository?

0 Answers  


How to interact tool & application build in QTP?

0 Answers  


what is the syntax or command in vbscript to display user message example i want to display "welcome to QTP".

3 Answers  


When there is descriptive programming, why do we go for Object repository for desigining scripts.?? why cant we use descriptive programming instead of using the Object repository..??

4 Answers   DST Global Solutions,


Categories