TommyTesterOccasional Contributor8 years agoHow to run a batch file using a Groovy script How do I run a batch file, using a Groovy Script, from within a test case?
New2APIFrequent Contributor8 years agodef BatchFile = Path+'Test.bat'Runtime.runtime.exec(BatchFile) Hope this helps!
Related ContentSimple script to batch edit multiple groovy scriptsgroovy script errorsGroovy ScriptString.replaceAll not working in Groovy scriptA script to batch edit 'Locally Stored Value' boolean true/false
Recent DiscussionsHow to avoid JDBC connection password saving/visibility in exported .xml ready API file of project.Darshan Hiranandani : Exploring ReadyAPI Integration with Azure GitHow to hit update service multiple time with different data set.How do I prevent a file path from being altered when being parsed by JsonSlurper in Groovy Script?SolvedMultipart requests getting blocked by the Azure WAF 200003