Testing Siebel Business Applications > Keywords Reference > Keywords Description >

VerifyError


You use the VerifyError keyword to verify the error messages that appear in applications i.e., Siebel error pop ups'.

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. (The Pipe separator is used a separator to verify multiple strings.)

 

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

OK

To verify if the complete error message is displayed correctly.

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 © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.