kathir_43
3 years agoContributor
Newman execution in TestComplete
I have a postman collection for an API . we have parameterized the collection with Test data and environment file in JSON format. we are using Newman commands for executing the collections . Now that we want to execute these collections using TestComplete (using Newman commands). Can anyone provide insights on this ask please? Thanks in advance!
@
Hi
you can use Wshsell.Run or Wshsell.Exec to run it via command-line
https://support.smartbear.com/testcomplete/docs/app-testing/desktop/console/about.html
and read data as wText, or StdOut, or just save output into text file, wait for Newman text execution, read the file via aqFile.ReadWholeTextFile() and post it into log