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|…..ExpectedMessage
SubstringN,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

N/A

'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.)

N/A

'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

Target Object Inputs Closing Action Comments

N/A

'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.