SiebToolbar Object

Description

A toolbar in a Siebel test automation environment.

Operations

The sections below list the built-in methods and properties that you can use as operations for the SiebToolbar object.

Note: You can also view a list and descriptions of the SiebToolbar description properties, for use in object repository descriptions, programmatic descriptions, checkpoint and output value steps, and as argument values for the GetTOProperty and GetROProperty methods.

Methods

Common Method CaptureBitmapSaves a screen capture of the object as a .png or .bmp image, depending on the specified file extension.
Common Method CheckChecks whether the actual value of an item matches the expected value.
Common Method CheckPropertyChecks whether the specified object property achieves the specified value within the specified timeout.
Common Method ChildObjectsReturns the collection of child objects contained within the object.
Common Method GetAllROProperties

Returns the collection of properties and current values from the object in the application.

Method ClickClicks a toolbar item.
Method GetRepositoryNameReturns the RepositoryName of the object.
Method GetRepositoryNameByIndexReturns the RepositoryName of the item with the specified index.
Common Method GetROPropertyReturns the current value of the specified description property from the object in the application.
Common Method GetTOPropertiesReturns the value of the specified description property from the test object description.
Common Method GetTOPropertyReturns the value of the specified description property from the test object description.
Common Method HighlightHighlights the object in the application.
Method GetUINameReturns the UIName (display name in the user interface) of the object.
Method IsControlEnabledIndicates whether the specified control is enabled.
Method IsControlExistsIndicates whether the specified control exists.
Common Method OutputRetrieves the current value of an item and stores it in a specified location.
Common Method RefreshObjectInstructs OpenText Functional Testing to re-identify the object in the application the next time a step refers to this object.
Common Method SetTOPropertySets the value of the specified description property in the test object description.
Common Method ToStringReturns a string that represents the current test object.
Common Method WaitPropertyWaits until the specified object property achieves the specified value or exceeds the specified timeout before continuing to the next step.

Properties

Property ClassNameThe class of the object.
Property CountThe number of objects of a given type that are present in the current context.
Common Property ExistChecks whether the object currently exists in the open application.
Property RepositoryNameThe name of the object as it is stored in the repository.
Property UINameThe name of the object as it appears in the user interface.

Back to top

 

Click Method

Description

Clicks a toolbar item.

Syntax

object.Click (ItemName)

Arguments

ParameterDescription
ItemName Required. A String value.
The RepositoryName of the toolbar item.

Return Type

None.

Example

Back to top

 

GetRepositoryName Method

Description

Returns the RepositoryName of the object.

Syntax

object.GetRepositoryName (ItemUIName)

Arguments

ParameterDescription
ItemUIName Required. A String value.
The UIName of the toolbar item. 

Return Type

A String value.

The repository name of the specified toolbar item.

Example

Back to top

 

GetRepositoryNameByIndex Method

Description

Returns the RepositoryName of the item with the specified index.

Syntax

object.GetRepositoryNameByIndex (Index)

Arguments

ParameterDescription
Index Required. A long integer value.
The index in the Count property of the object.

Return Type

A String value.

Example

Back to top

 

GetUIName Method

Description

Returns the UIName (display name in the user interface) of the object.

Syntax

object.GetUIName (ItemRepositoryName)

Arguments

ParameterDescription
ItemRepositoryName Required. A String value.
The RepositoryName of the object.

Return Type

A String value.

Example

Back to top

 

IsControlEnabled Method

Description

Indicates whether the specified control is enabled.

Syntax

object.IsControlEnabled (ItemRepositoryName)

Arguments

ParameterDescription
ItemRepositoryName Required. A String value.
The RepositoryName of the object.

Return Type

A long integer value.

Example

Back to top

 

IsControlExists Method

Description

Indicates whether the specified control exists.

Syntax

object.IsControlExists (ItemRepositoryName)

Arguments

ParameterDescription
ItemRepositoryName Required. A String value.
The RepositoryName of the object.

Return Type

A long integer value.

Example

Back to top

 

ClassName Property

Description

The class of the object.

Syntax

object.ClassName

Value Type

A String value.

Property type

Read-only property

Example

Back to top

 

Count Property

Description

The number of objects of a given type that are present in the current context.

Syntax

object.Count

Value Type

A long integer value.

Property type

Read-only property

Example

Back to top

 

RepositoryName Property

Description

The name of the object as it is stored in the repository.

Syntax

object.RepositoryName

Value Type

A String value.

Property type

Read-only property

Back to top

 

UIName Property

Description

The name of the object as it appears in the user interface.

Syntax

object.UIName

Value Type

A String value.

Property type

Read-only property

Example

Back to top

See also: