Testing Siebel Business Applications > Keywords Reference > Keywords Description >

VerifyError


You use the VerifyError keyword to verify the error messages that appear in applications.

Signature

The VerifyError keyword supports the following signature:

VerifyError(ExpectedMessageSubstring1|ExpectedMessageSubstring2|.....ExpectedMessageSubstringN,OK/CANCEL)

NOTE:  Clicking on OK in the pop-up window is an implicit action.

Desktop Examples

The following table describes how to use the VerifyError keyword to verify the error messages that appear in applications in desktop applications.

Target Object
Inputs
Closing Action
Comments

 

'Duration' is a required field|Please enter a value for the field.|SBL-DAT-00498

OK

Verifies whether the error message, which appears in the application, contains the specified string value or not.

Mobile Examples

The following table describes how to use the VerifyError keyword to verify the error messages that appear in applications in mobile applications (on mobile devices).

Target Object
Inputs
Closing Action
Comments

 

'Duration' is a required field|Please enter a value for the field.|SBL-DAT-00498

OK

Verifies whether the error message, which appears in the application, contains the specified string value or not.

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