I have a test, that expects a native message box to come up with the same message multiple times at different points in time during the test sequence.
I retrieve the message using
get-last-message-box | get-property message
However, although the AUT fails to issue the message box at a certain time, the test will succeed as the MessageBoxInfoImpl is not resetted and still holds the message.
How can I reset the message?
get-last-message-box | get-object | invoke setMessage ""
but only get the error message
Usupported type class org.eclipse.rcptt.tesla.ecl.model.impl.MessageBoxInfoImpl
Any ideas how to solve that problem?