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
What is test object model in quicktest professional?
How many types of run modes are there in qtp?
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
Explain quicktest professional testing process?
how can i call function (which has link with excell sheet at a remote location) within another function
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
Can we Test Welcome Screens and Process Images with QTP
breef description of batch testing ?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object
What is the basic concept of quicktest professional (qtp)?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
hi nani my doubt is how does qtp process metrix related to software process.
How to remove associated function library?
How are actions and functions different in QTP?