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 valueUnable to write to excel using groovy script in Test EngineCalling common function for all the scriptsCalling variable from another scriptCalling
Recent DiscussionsAccess a child in a tree Structure through Keyword StrokesTurn off all Edge messageboxesHow to verify data from another application, the data which keeps changingAudit and Reporting purposesTextbox values disappear after adding Year value from Date Picker