nastesterRegular Contributor4 years agoSolvedBatch script not running through TestComplete I want to run a batch script in one of my tests that deletes some records from a db. I have the following function: function deleteReports() { Sys.OleObject("WScript.Shell").Exec("cmd /c C:\User...Show More
Marsha_RChampion Level 34 years agoCopy LinkThis archived thread may be of some help https://community.smartbear.com/t5/TestComplete-General-Discussions/How-do-i-run-a-Batch-file-from-testComplete/td-p/119065
nastesterRegular Contributor to Marsha_R4 years agoCopy LinkThanks, adding the batch script as a TestedApp and running like TestedApps.*Name*.Run(); worked
nastesterRegular Contributor to Marsha_R4 years agoCopy LinkThanks, adding the batch script as a TestedApp and running like TestedApps.*Name*.Run(); worked
Recent DiscussionsFailed to upload the report data - An exception occurredUnable to access popup menu from MFC Ribbon Dropdown buttonHow to compare local variables with a reusable script in TestComplete?
Related ContentTestComplete Test Adapter (v15.53.9) issues running tests in DevOpsRun TestComplete with GitHub ActionsRunning Googletests in TestComplete