Hi,
We're running our Ranorex Test Suite from TeamCity.
In TeamCity it's possible to do on-the-fly test reporting, by writing service messages to the std. output.
(https://confluence.jetbrains.com/displa ... h+TeamCity)
This means that we have to write a service message on start and end of each test case. A solution is to edit following standard Ranorex messages, which are written to console on start and end of a test case:
"Test Case '<TestCase>' started."
"Test Case '<TestCase>' completed with status '<Status>'."
Does anyone know if this is possible (and how) ?
Or maybe someone has an alternative solution ?
I'm aware of this could be done in the setup and teardown of the test cases, but that implies that all test cases are edited (which is not prefered).
Edit standard console messages
-
- Posts: 8
- Joined: Tue Nov 18, 2014 12:16 pm
- Location: Denmark
-
- Posts: 8
- Joined: Tue Nov 18, 2014 12:16 pm
- Location: Denmark
Re: Edit standard console messages
I've found an alternative solution:
By implementing an eventhandler for the BeginActivity and the EndActivity events, the teamcity service messages is written when each testcase is started and stopped.
ranorex.com/forum/how-to-execute-a-piece-of-code-for-all-testcases-t4699.html
By implementing an eventhandler for the BeginActivity and the EndActivity events, the teamcity service messages is written when each testcase is started and stopped.
ranorex.com/forum/how-to-execute-a-piece-of-code-for-all-testcases-t4699.html