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 DiscussionsTestcomplete failing on listboxesLooking to pass values from Execution Plan set upExternal table is not in expected formatHow can I retrieve the text of that dropdown below?Is there a way to fail the test by matching 2 strings?