How to execute a VBS file without using Execute File
statement?
Answer Posted / 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 |
Post New Answer View All Answers
HOw to add the recovery file at runtime to the test file .
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
How many ways is to parameterize the value?
Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version
How to get the particular property value?
How to handle Java tree in QTP?
What are the features and benefits of quick test pro (qtp 8.0)?
can the activities of test case design be automated?
What is Cross browser testing? Does UFT support it?
What is the difference between run time object and test object in QTP?
How will you declare a variable in qtp?
Write a QTP script to enter a keyword in to Google search engine?
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
What is QTP and the use of QTP in TD?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.