heidi_nRegular Contributor7 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_n7 years agoMarked as SolutionHi, You can add your .bat to TestedApps and then call it: TestedApps.yourBatFile.Run()
baxatob to heidi_n7 years agoMarked as SolutionHi, You can add your .bat to TestedApps and then call it: TestedApps.yourBatFile.Run()
baxatob to heidi_n7 years agoMarked as SolutionHi, You can add your .bat to TestedApps and then call it: TestedApps.yourBatFile.Run()
baxatobCommunity Hero to heidi_nHi, You can add your .bat to TestedApps and then call it: TestedApps.yourBatFile.Run()
shankar_rCommunity Hero to baxatob7 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
Related ContentExcel-Write valueCalling common function for all the scriptsUnable to write to excel using groovy script in Test EngineCalling variable from another scriptCalling
Recent DiscussionsTestComplete15.63 is unable to recognize a range of standard html controls in Object BrowserEdge browser compatibilityHow to click last row of the grid?SolvedApp does not work when manipulating mobile screen screen in TestCompletePOST jUnit.xml results file to Zephyr