Testing Siebel Business Applications > Keywords Reference > Keywords Description >

VerifyState


You use tee VerifyState keyword to verify the state of an object.

Signatures

The VerifyState keyword supports the following signatures:

VerifyState(AppletRN|FieldRN|[RowNum] ,TRUE/FALSE)

VerifyState(AppletRN|MenuButtonRN|MenuItemRN ,TRUE)

VerifyState(ApplicationLevelMenuRN|ApplicationLevelMenuItemRN,TRUE)

Note the following about the VerifyState keyword signature:

  • If an object is enabled, editable, or drillable, then verification is True.
  • If an object is disabled or read only, then verification is False.
  • You can verify the state of most objects, including the following: button, text, check box, drop-down list, menu item, application-level menu items.

Desktop Examples

The following table describes how to use the VerifyState keyword to verify the state of an object in desktop applications.

Target Object
Inputs
Closing Action
Comments

SIS Product Form Applet - ISS Admin|NewRecord

TRUE

 

Verifies whether the button state is enabled or disabled.

SIS Product List Admin Applet|Billable Flag|3

FALSE

 

Verifies whether the check box field is enabled or disabled.

SIS Product Form Applet - ISS Admin|SiebAppletMenu|New Record (SWE)

TRUE

 

Verifies the state of menu item in the form applet.

Menu-Query|Query - QueryAssist

FALSE

 

Verifies the state of application level menu items.

NULL|Tree

TRUE

 

Verifies the state of the application.

NULL|Tab

TRUE

 

Verifies the state of the application.

NULL|Side Menu

TRUE

 

Verifies the state of the application.

Mobile Examples

The following table describes how to use the VerifyState keyword to verify the state of an object in mobile applications (on mobile devices).

Target Object
Inputs
Closing Action
Comments

SHCE Sales Account List Applet - Mobile|QuerySrchSpec

TRUE

 

Verifies the state of the variable and stores the value in @var.

SHCE Sales Account List Applet - Mobile|SiebAppletMenu|Record Count (SWE)

TRUE

 

Verifies the state of the menu item.

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