Testing Siebel Business Applications > Keywords Reference > Keywords Description >

GetState


You use the GetState keyword to obtain the state of a specified object and store the state in a variable. The state of an object can be Read-only, Enabled, Disabled, Editable, and so on.

Signatures

The ServerConfig keyword supports the following signatures:

GetState(AppletRN|FieldRN|[RowNum] ,@Variable)

GetState(AppletRN|MenuButtonRN|MenuItemRN ,@Variable)

GetState(ApplicationLevelMenuRN|ApplicationLevelMenuItemRN,@Variable)

Desktop Examples

The following table describes how to use the GetState keyword to obtain the state of a specified object and store the state in a variable in desktop applications.

Target Object
Inputs
Closing Action
Comments

SIS Product List Admin Applet|Release

@variable1

 

Stores the Release state in a variable.

SIS Product List Admin Applet|XA Class Name|3

@variable2

 

Stores XA Class Name state for the third record in a variable.

SIS Product List Admin Applet|SiebAppletMenu|Delete Record (SWE)

@variable3

 

Stores the Delete record (SWE) state in a variable.

Menu-File|File - Send Fax

@variable4

 

Stores the File - Send Fax state in a variable.

Mobile Examples

The following table describes how to use the GetState keyword to obtain the state of a specified object and store the state in a variable in mobile applications (on mobile devices).

Target Object
Inputs
Closing Action
Comments

SHCE Sales Account List Applet - Mobile|QuerySrchSpec

@var

 

Gets the state of a variable and stores the state in @var.

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

@var

 

Gets the state of a menu item and stores the state in @var.

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