Forum Discussion

nastester's avatar
nastester
Regular Contributor
3 years ago
Solved

Batch 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...
  • nastester's avatar
    nastester
    3 years ago

    Thanks, adding the batch script as a TestedApp and running like TestedApps.*Name*.Run(); worked