If you already know the message which is not supposed to be displayed then
write the code like :
write the code like :
Code:
x = object(message).exist
if x <> false then
reporter.reportevent micPass, "No messages displayed", "validation is successfull"
else
reporter.reportevent micFail, "Messages are being displayed", "validation failed"
end if