ankita_sharmaOccasional Contributor13 years agoSolvedCalling a VBscript with extension .vbs from Test Complete code Hi All, I am struggling hard but I have not got any clue on how to call a VB file from test complete. Any body have any idea please help me out on it. Thanks AnkitaShow Morekarkadil13 years agoThe simplest way is using WScript.Shell Set ws = Sys.OleObject("WScript.Shell") ws.Run("c:\somefile.vbs")
karkadil13 years agoThe simplest way is using WScript.Shell Set ws = Sys.OleObject("WScript.Shell") ws.Run("c:\somefile.vbs")
karkadil13 years agoThe simplest way is using WScript.Shell Set ws = Sys.OleObject("WScript.Shell") ws.Run("c:\somefile.vbs")
coplin_geoffreyNew Contributor13 years agoThank you! That was helpful information. I use external vbscript all the time.
Recent DiscussionsTestexecute not possible to select tests if tesexec plan existsSys.OleObject. Microsoft Office (Word, Excel)'Project not defined' errors after updating to 15.77.6.7
Related ContentGoto in VBScriptRunning Windows Batch Files in Test Complete(VBscript)VBScript - Get CPU Usage