heidi_nRegular Contributor9 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_n9 years agoHi, You can add your .bat to TestedApps and then call it: TestedApps.yourBatFile.Run()
baxatob to heidi_n9 years agoHi, You can add your .bat to TestedApps and then call it: TestedApps.yourBatFile.Run()
baxatob to heidi_n9 years agoHi, You can add your .bat to TestedApps and then call it: TestedApps.yourBatFile.Run()
baxatobCommunity Hero9 years agoHi, You can add your .bat to TestedApps and then call it: TestedApps.yourBatFile.Run()
shankar_rCommunity Hero to baxatob9 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 DiscussionsUnable to Navigate to Code Line from Log MessagesMicrosoft Access Database Engine 2016 Redistributable is no longer supportedStoring JUnit XML while the testing is running
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