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 |
four browser are open same application i want to enter 3browser how?
Plze let me know how you can validate in the QTP that printed documents is correctly printed or not ie how we can do the validation that all the records or text are printed successfully in the printed document as per the application format requuired.
Is qtp supports uni-code?
How to handle the exceptions using recovery scenario manager in QTP?
What are Error handling other than Recovery scenario manager?
Hi All, I am new to QTP but i was trained on winrunner before. My problem is..QTP 8.2 was unable to record my application which is a java app. By selecting smart identification, i was somehow able to record the test BUT QTP cant run the test! Can anyone help me in walking through this problem..Is java addin really necessary for this?? Is there anyways i can run the test successfully? I am not sure whats going wrong in my testing.Please do help me asap as i need to submit the report early. Thanks in advance
How do we run the scripts in QTP ?? what are the three options....
How do function returns a value?How can we pass one function value to other function as input
How to Practice QTP Scripts?
anyone can explian about types of "Triggere Events" in QTP
write a VBscript code to parametrize test script using test data from sqlserver database?
How do u insert an object during runtime in qtp?