or primarily checking the value in a particular label or a text box on the page. how can we check the value being displayed after a UI operation ?
If a message is displayed on the UI then i guess that text message is coming from one of a server responses? Have you checked if it's the case?
If yes you need to add a validation of that server response to make sure that this message is displayed during the test.