Re: How to capture the powershell result on calling the external application(.exe with arguments)
You've already stated the key problem... you can see it on the console. so, you would need to write code in TestComplete to scrape the screen of the console to grab the information. Alternatively, you could have Powershell output the information to a file that can then be read by TestComplete. But that's really the key... you need to code TestComplete to find the information.
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group. I love good food, good books, good friends, and good fun.