I'll give an example of a cause, and a brief description of our test execution process. If you do the following:
- Excel is not installed
- You have a test that uses excel
- You execute the test
- The test fails with an error you can see on the console
- A report is not generated
What I'm wonder is how can I get that error displayed on the console? Is there a log somewhere?
Here is how our process works:
We have an console application that launches the ranorex test. This application determines what command line switches to launch the ranorex test with using a variety of crieria. The console app will then launch the ranorex test and sit and wait for a response code. I get a 0 if it was success, and some other code if it was a failure. All my application knows about is the code.
My application then looks for the report file to manipulate it in such a way that it can be consumed by our CI (and check to see some metadata like pass, fail counts etc.).
If, for some reason, the log isn't there, then my application simply reports... I couldn't find the log. But the question is... WHY isn't the log there? That's what I need to somehow discover.
I can see the reason why fly by the console of the Ranorex Test, but I need a way to capture that. Is this possible?