nastesterRegular Contributor3 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 Morenastester to Marsha_R3 years agoMarked as SolutionThanks, adding the batch script as a TestedApp and running like TestedApps.*Name*.Run(); worked
nastester to Marsha_R3 years agoMarked as SolutionThanks, adding the batch script as a TestedApp and running like TestedApps.*Name*.Run(); worked
nastester to Marsha_R3 years agoMarked as SolutionThanks, adding the batch script as a TestedApp and running like TestedApps.*Name*.Run(); worked
Marsha_RChampion Level 3This 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_R3 years agoThanks, adding the batch script as a TestedApp and running like TestedApps.*Name*.Run(); worked
Related ContentTestComplete Test Adapter (v15.53.9) issues running tests in DevOpsRunning Googletests in TestCompleteTestComplete with Zephyr ScaleTestComplete Azure re-run failed testsRunning mobile tests without opening testcomplete GUI
Recent DiscussionsTestComplete14.72 is not recognizing WinUI-3 objectsFloating window **bleep** overlapping window takes longer time (~10 min) to click the button on it.Test case randomly fails with "parent object was not found"Does TC have a .within() method similar to Cypress.io?SolvedSessionCreator /Timeout option not firing EventControl_OnTimeout