heidi_nRegular Contributor8 years agoSolvedHow to write a script to call a bat file to run? I would like to have a script (JavaScript) that runs a bat file. How would I go about doing this? The bat file is located in C:\P4\testcomplete\branch_dev\WebIQ_Scripts\Clear_User_Settings and is...Show Morebaxatob to heidi_n8 years agoHi, You can add your .bat to TestedApps and then call it: TestedApps.yourBatFile.Run()
baxatob to heidi_n8 years agoHi, You can add your .bat to TestedApps and then call it: TestedApps.yourBatFile.Run()
baxatob to heidi_n8 years agoHi, You can add your .bat to TestedApps and then call it: TestedApps.yourBatFile.Run()
baxatobCommunity Hero8 years agoHi, You can add your .bat to TestedApps and then call it: TestedApps.yourBatFile.Run()
shankar_rCommunity Hero to baxatob8 years agoThe same has been discussed in below threads, https://community.smartbear.com/t5/TestComplete-General-Discussions/How-do-i-run-a-Batch-file-from-testComplete/td-p/119065 https://community.smartbear.com/t5/TestComplete-General-Discussions/Running-Windows-Batch-Files-in-Test-Complete-VBscript/td-p/104706 https://community.smartbear.com/t5/TestComplete-General-Discussions/Running-Windows-Batch-Files/td-p/45219
Recent DiscussionsTestComplete mapping issue with similar objectsIssue with 'Keys' OperationSolvedName error : name 'Sys' is not defined.
Related ContentJavaScript ECMA6 Asynchronous CallsGeneralEvents calls a script that calls some other scripts -- result to type mismatchHow to write a groovy script for a REST project