SiebCommunicationsToolbar Object

Description

The communications 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 SiebCommunicationsToolbar object.

Note: You can also view a list and descriptions of the SiebCommunicationsToolbar 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 the specified button.
Method GetButtonStateReturns a String that The state of the specified button (for example, Blinking).
Method GetButtonTooltipReturns a String that The tooltip for the specified button.
Common Method GetROPropertyReturns the current value of the specified description property from the object in the application.
Common Method GetTOPropertiesReturns the collection of properties and values used to identify the object.
Common Method GetTOPropertyReturns the value of the specified description property from the test object description.
Common Method HighlightHighlights the object in the application.
Common Method OutputRetrieves the current value of an item and stores it in a specified location.
Common Method RefreshObjectInstructs UFT One to re-identify the object in the application the next time a step refers to this object.
Method SelectWorkItemSelects the specified work item.
Method SetTextEnters text in the textbox.
Common Method SetTOPropertySets the value of the specified description property in the test object description.
Method ShowButtonTooltipDisplays the tooltip for the specified button.
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 CurrentWorkItemThe currently selected work item.
Common Property ExistChecks whether the object currently exists in the open application.
Property IsEnabledIndicates whether the object is enabled.
Property IsVisibleIndicates whether the object is visible.
Property MediaTypeThe type of media.
Property MessageThe communication channel information displayed next to the Siebel menu that indicates where the message comes from (for example, Call Display).
Property RepositoryNameThe name of the object as it is stored in the repository.
Property TextThe text value of the object.
Property UINameThe name of the object as it appears in the user interface.
Property WorkItemDurationThe duration of the currently selected work item.

Back to top

 

Click Method

Description

Clicks the specified button.

Syntax

object.Click (ButtonName)

Arguments

ParameterDescription
ButtonName Required. A String value.
The RepositoryName of the button.

Return Type

None.

Example

Back to top

 

GetButtonState Method

Description

Returns a String that The state of the specified button (for example, Blinking).

Syntax

object.GetButtonState (ButtonName)

Arguments

ParameterDescription
ButtonName Required. A String value.
The RepositoryName of the button.

Return Type

A String value.

The state of the specified button (for example, Blinking).

Example

Back to top

 

GetButtonTooltip Method

Description

Returns a String that The tooltip for the specified button.

Syntax

object.GetButtonTooltip (ButtonName)

Arguments

ParameterDescription
ButtonName Required. A String value.
The RepositoryName of the button.

Return Type

A String value.

The tooltip for the specified button.

Example

Back to top

 

SelectWorkItem Method

Description

Selects the specified work item.

Syntax

object.SelectWorkItem (Item)

Arguments

ParameterDescription
Item Required. A long integer value.
The WorkItem to select.

Return Type

None.

Example

Back to top

 

SetText Method

Description

Enters text in the textbox.

Syntax

object.SetText (Text)

Arguments

ParameterDescription
Text Required. A String value.
The text to enter.

Return Type

None.

Example

Back to top

 

ShowButtonTooltip Method

Description

Displays the tooltip for the specified button.

Syntax

object.ShowButtonTooltip (ButtonName)

Arguments

ParameterDescription
ButtonName Required. A String value.
The RepositoryName of the button.

Return Type

None.

IMPORTANT

This event is significant because the CommunicationsToolbar tooltip is dynamic, causing a roundtrip to the server.

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

 

CurrentWorkItem Property

Description

The currently selected work item.

Syntax

object.CurrentWorkItem

Value Type

A String value.

Property type

Read-only property

Example

Back to top

 

IsEnabled Property

Description

Indicates whether the object is enabled.

Syntax

object.IsEnabled

Value Type

A long integer value.

Property type

Read-only property

Example

Back to top

 

IsVisible Property

Description

Indicates whether the object is visible.

Syntax

object.IsVisible

Value Type

A long integer value.

Property type

Read-only property

IMPORTANT

You cannot checkpoint this property because the control is not rendered by the browser when it is not visible. However, you can manually write script code to check the property.

Example

Back to top

 

MediaType Property

Description

The type of media.

Syntax

object.MediaType

Value Type

A String value.

Property type

Read-only property

Example

Back to top

 

Message Property

Description

The communication channel information displayed next to the Siebel menu that indicates where the message comes from (for example, Call Display).

Syntax

object.Message

Value Type

A String 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

 

Text Property

Description

The text value of the object.

Syntax

object.Text

Value Type

A String value.

The RepositoryName of the toolbar.

Property type

Read-only property

Example

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

Back to top

 

WorkItemDuration Property

Description

The duration of the currently selected work item.

Syntax

object.WorkItemDuration

Value Type

A String value.

Property type

Read-only property

Example

Back to top

See also: