Testing Siebel Business Applications > Keywords Reference > Keywords Description >

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. VerifyTopNotication checks for the message in the notification 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_041155918;NULL;Match

Close

Verifies whether or not the top unread message appears in the notification list, and closes the control.

MsgBrdCstIcon

Account_10142015_041155918;NULL;NoMatch

Close

Verifies whether or not the top unread message appears in the notification list, and closes the control.

MsgBrdCstIcon

Account_10142015_041155918;Color|Red;Match

Close

Verifies whether the color of the top unread message in the notification list matches the input value, and closes the control.

MsgBrdCstIcon

Account_10142015_041155918;Color|Red;Match

KeepOpen

Verifies whether the color of the top unread message in the notification list matches the input value, and keeps the control open.

MsgBrdCstIcon

SVP Action|populate Actions;NULL;Match

Close

Verifies whether the top unread message in the notification 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 top unread message appears in the notification list, before going offline and closing the control.

Testing Siebel Business Applications Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.