How to execute a VBS file without using Execute File
statement?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Explain the Keyword View ?
how to retreive the xml file data through qtp.can anybody send script for this..
how do u handle an object with out name in our application using QTP 9.2?
Can we use same virtual objects in many number of tests?
How can we translate the steps between the Keyword and Expert Views?
Hi, Can any one explain what is mean by Driver Script? is it AOM?
what is smart identification?
Can u Reduce the size of Object repository? What are the problems u have faced in Qtp tool?
WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?
Explain synchronization types in QTP
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 ?
In how may ways we can use checkpoints to an application using QTP?