Forum Discussion
Senthil007
8 years agoOccasional Contributor
How differently I can do that from my initial question. There I am running as testrunner.bat only. Problem is I cant find if the test is executing and not able to see the results too
Nastya_Khovrina
Alumni
8 years agoSenthil,
You can get the process output with the following command:
def project1 = ["C:/Program Files/SmartBear/ReadyAPI-2.0.0/bin/testrunner.bat", "-sSuite1", "-EDefault environment", "C:/gitRepo/service1"].execute()
log.info(project1.text)
- Senthil0078 years agoOccasional Contributor
Hello Anastasia,
I already have that log.info(project1.text) step.
When I execute the project the log.info doesn't wait for the test to complete, it immediately writes the message as
"Mon Oct 30 09:18:51 MDT 2017:INFO:"
No message is written
Thanks,
Senthil