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 |
What is the difference between run time object and test object in QTP?
How to get the particular property value?
what is object repository?
How to handle Dynamic Arrays?
in QTP,how to write a descriptive program for "yahoo" or "gmail" Login page
Where you can store check point results?
Difference between copy to action and call to action?
I have a tool for automation testing (eg:qtp).I have two functionality(A & B) to test.A is tested once in a year. B is tested everyday. At present i have the money and resource availability to automate only one functionality.Which one will u suggest and why?
i have batch scripts in qtp and i want to update the status like pass/fail in excel sheet after excecuting the every script in batch.how to write the script for this?
Suppose there is a bitmap with some text in it how do you write the script to get the text.
Explain about import and export files?
what type of scripts are asked in qtp?