VerifyTopNotification

You use the VerifyTopNotification keyword to verify whether or not a notification message appears in the application. The keyword also verifies the color of the notification.

Signature

The VerifyTopNotification keyword supports the following signature:

VerifyTopNotification((MessagebroadcastRN,Expectedmessage|[ExpectedHeader];
Color|Expectedd Color/NULL|Match/NoMatch,Close/KeepOpen))
Note: You must click the Marl All as Read option before using the click operation on any notification message. ClickTopNotification checks for the message in the notifications list for up to ten iterations (with an interval of one minute between iterations).

Desktop Examples

The following table describes how to use the VerifyTopNotification keyword to verify whether or not a notification message appears in desktop applications.

Target Object Inputs Closing Action Comments

MsgBrdCstIcon

Account_10142015_041 155918;NULL;Match

Close

Verifies whether or not the first unread message appears in the notifications list, and closes the control.

MsgBrdCstIcon

Account_10142015_041 155918;NULL;NoMatch

Close

Verifies whether or not the first unread message appears in the notifications list, and closes the control.

MsgBrdCstIcon

Account_10142015_041 155918;Color|Red;Match

Close

Verifies whether the color of the first unread message in the notifications list matches the input value (Color|Red in this case), and closes the control.

MsgBrdCstIcon

Account_10142015_041 155918;Color|Red;Match

KeepOpen

Verifies whether the color of the first unread message in the notifications list matches the input value (Color|Red in this case), and keeps the control open.

MsgBrdCstIcon

SVP Action|populate Actions;NULL;Match

Close

Verifies whether the first unread message in the notifications list matches the input value, and closes the control.

Mobile Examples

The following table describes how to use the VerifyTopNotification keyword to verify whether or not a notification message appears in mobile applications (on mobile devices).

Target Object Inputs Closing Action Comments

MsgBrdCstIcon

Data synchronization notification|Data is ready for download;NULL;Match

Close

Verifies whether or not the first unread message appears in the notifications list, before going offline and closing the control.