ankita_sharmaOccasional Contributor12 years agoCalling 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 Morekarkadil12 years agoThe simplest way is using WScript.Shell Set ws = Sys.OleObject("WScript.Shell") ws.Run("c:\somefile.vbs")
karkadil12 years agoThe simplest way is using WScript.Shell Set ws = Sys.OleObject("WScript.Shell") ws.Run("c:\somefile.vbs")
karkadil12 years agoThe simplest way is using WScript.Shell Set ws = Sys.OleObject("WScript.Shell") ws.Run("c:\somefile.vbs")
coplin_geoffreyNew Contributor12 years agoThank you! That was helpful information. I use external vbscript all the time.
Related ContentGoto in VBScriptRunning Windows Batch Files in Test Complete(VBscript)Does Test Complete work on a Google Chrome ExtensionHow to convert vbscript code to javascript in testcompleteVBScript error with CreateObject
Recent DiscussionsMy test keeps failing because the actual value is true and the expected value is "true"Help with keyword modeOAuth 2.OPython helpHow to run the WPF application in silent mode?