I want to use eCATT for testing authority checks. Therefore, I recorded a TCD session (no controls in the dynpros) and played it back with intended wrong parameters. It is right for the transaction to respond with an error message and I want the test case to be green. Problem is, it is red.
I tried to put the TCD command into a MESSAGE...ENDMESSAGE block with matching message rules, but this does not help at all.
Has anyone a clue what to do to make the test not fail..? I mean, the call should fail, because the current user is not allowed to use the report behind the transaction and I want to verify this.
Or has anyone a nice example of a test case testing for a failing authority check ?