Testing Siebel Business Applications > Keywords Reference > Keywords Description >

VerifyObject


You use the VerifyObject keyword to verify the presence of an object or UI name in applications.

Signature

The VerifyObject keyword supports the following signature:

VerifyObject(AppletRN|FieldRN/MenuItemRN,UN name/data-caption of MenuItem/Inner Text or Title for field items/NULL; TRUE/FALSE)

Note the following in the VerifyObject keyword signature:

  • Use NULL as the input to verify the existence of an object
  • Use the object label (for example, the name of a button) as the input to verify the object name.
  • Use the menu item label as the input to verify the menu item name.
  • Use the field label as the input to verify the field name or title.
  • True or False input is mandatory.
  • If the True parameter is set and if the expected object does not match the actual object in the UI, then the test step fails.
  • If the True parameter is set and if the expected object matches the actual object in the UI, then the test step passes.
  • If the False parameter is set and if the expected object does not match the actual object in the UI, then the test step passes.
  • If the False parameter is set and if the expected object matches the actual object in the UI, then test the step fails.

NOTE:  True/False is case insensitive.

Desktop Examples

The following table describes how to use the VerifyObject keyword to verify the presence of an object or UI name in desktop applications.

Target Object
Inputs
Closing Action
Comments

SIS Account List Applet|NULL

NULL;TRUE

 

Verifies the existence of an applet.

NULL|SUI_OPEN_TOOLBAR

NULL;TRUE

 

Verifies that the toolbar is open.

NULL|SUI_CLOSED_TOOLBAR

NULL;TRUE

 

Verifies that the toolbar is open.

SIS Account List Applet|SiebVisList

All Accounts Across Organizations;TRUE

 

Verifies that the item exists in the Visibility list in the list applet.

SIS Account List Applet|DeleteRecord

NULL;TRUE

 

Verifies that the Delete button exists in the list applet.

SIS Account List Applet|DeleteRecord

Delete;TRUE

 

Verifies that the Delete button UI name exists in the list applet.

SIS Account Entry Applet|DeleteRecord

NULL;TRUE

 

Verifies that the Delete button exists in the form applet.

SIS Account List Applet|NewQuery

NULL;TRUE

 

Checks that the NewQuery button exists in the list applet.

SIS Account List Applet|Type

Account Type;TRUE

 

Checks that the Column Account Type exists in the list applet.

SIS Account List Applet|QueryComboBox

NULL;TRUE

 

Verifies that the QueryComboBox drop-down list exists in the list applet.

SIS Account List Applet|About Record (SWE)

About Record [Ctrl+Alt+K];TRUE

 

Verifies that the menu item About Record (SWE) exists in the list applet.

SIS Account List Applet|Account Type Code|1

Customer;TRUE

 

Checks the title of the Account Type Code field with the row number in the list applet.

Menu-File|File - Create Bookmark

Create Bookmark...;TRUE

 

Verifies that the application menu item Create Bookmark exists in the file menu.

NULL|SWE Export Applet.rdbRowsToExport

All Rows In Current Query;TRUE

 

Verifies that the Radio button exists in the pop-up.

NULL|Account List View|L2

Accounts List;TRUE

 

Verifies that the application links exist.

SIS Account List Applet|DeleteRecord

Delete;FALSE

 

Verifies the absence of the Delete button UI name in the list applet (negative scenario).

Mobile Examples

The following table describes how to use the VerifyObject keyword to verify the presence of an object or UI name in mobile applications (on mobile devices).

Target Object
Inputs
Closing Action
Comments

AppletRN|FieldRN

FieldUN;TRUE/FALSE

 

Verifies the UI name of the field.

SHCE Sales Account List Applet - Mobile|NewQuery

Query;TRUE

 

Verifies that the Query button exists in the list applet.

SHCE Sales Account List Applet - Mobile|QuerySrchSpec

Accounts;TRUE

 

Verifies that items exist in the QuerySearch text box in the list applet.

SHCE Sales Account List Applet - Mobile|DeleteRecord

Delete;TRUE

 

Verifies that the Delete button UI name exists in the list applet.

SHCE Sales Account List Applet - Mobile|QueryComboBox

NULL;TRUE

 

Verifies that the QueryComboBox drop-down list exists in the list applet.

SHCE Sales Account List Applet - Mobile|Type|1

Customer;TRUE

 

Checks the title of the Account Type Code field with the row number in the list applet.

NULL|Account List View

Accounts List;TRUE

 

Verifies that the application links exist.

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