alan-mullin
5 years agoOccasional Contributor
Running a command line utility from inside TestComplete
Haven't been able to find anything close to an answer for this, so maybe I wasn't asking the search in the correct way...
We have a requirement to validate checksums now.
Is there a way to run windows certutil from inside Powershell or preferably command prompt (cmd) and pull the results into a string?
Running certutil and then looking for a string containing "command completed successfully" would be ideal, but I'm open to ideas.
You can shell out to a command line using the WshShell object which is, essentially, just a wrapper around the Wscript.Shell object in the Microsoft Library.
See documentation at https://support.smartbear.com/testcomplete/docs/reference/program-objects/wshshell/index.html