Object Model Reference for GUI Testing > Siebel > ClosePopup Method

SiebCurrency Object

Description

A currency calculator 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 SiebCurrency object.

Note: You can also view a list and descriptions of the SiebCurrency 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 CaptureBitmap Saves a screen capture of the object as a .png or .bmp image, depending on the specified file extension.
Common Method Check Checks whether the actual value of an item matches the expected value.
Common Method CheckProperty Checks whether the specified object property achieves the specified value within the specified timeout.
Common Method ChildObjects Returns the collection of child objects contained within the object.
Method ClosePopup Closes the currency popup applet after saving changes.
Method GetClassCount Returns the number of objects of the specified type.
Method GetRepositoryName Returns the RepositoryName of the object.
Method GetRepositoryNameByIndex Returns the RepositoryName of the item with the specified index.
Common Method GetROProperty Returns the current value of the specified description properties from the object in the application.
Common Method GetTOProperties Returns the collection of properties and values used to identify the object.
Common Method GetTOProperty Returns the value of the specified description properties from the test object description.
Method OpenPopup Opens the currency calculator popup applet.
Common Method Output Retrieves the current value of an item and stores it in a specified location.
Common Method RefreshObject Instructs UFT to re-identify the object in the application the next time a step refers to this object.
Method SetText Enters text in the text area.
Common Method SetTOProperty Sets the value of the specified description properties in the test object description.
Common Method ToString Returns a string that represents the current test object.
Common Method WaitProperty Waits until the specified object property achieves the specified value or exceeds the specified timeout before continuing to the next step.

Properties

Property Amount The value of the Amount field in the popup applet.
Property ClassName The class of the object.
Property CurrencyCode The value of the Currency Code field in the popup applet.
Property ExchangeDate The value of the Exchange Date field in the popup applet.
Common Property Exist Checks whether the object currently exists in the open application.
Property IsEnabled Indicates whether the object is enabled.
Property IsOpen Indicates whether the associated popup applet is open.
Property IsRequired Indicates whether the object is required.
Property RepositoryName The name of the object as it is stored in the repository.
Property Text The text value of the object.
Property UIName The name of the object as it appears in the user interface.

 

Back to top

ClosePopup Method

Description

Closes the currency popup applet after saving changes.

Syntax

object.ClosePopup

Return Type

None.

Example


 

Back to top

GetClassCount Method

Description

Returns the number of objects of the specified type.

Syntax

object.GetClassCount (ClassName)

Arguments

Parameter Description
ClassName Required. A String value.
The type of object to be counted.

Return Type

A long integer value.

Example


 

Back to top

GetRepositoryName Method

Description

Returns the RepositoryName of the object.

Syntax

object.GetRepositoryName (ClassName, UIName)

Arguments

Parameter Description
ClassName Required. A String value.
The ClassName of the child object.
UIName Required. A String value.
The UIName of the child object.

Return Type

A String value.

The repository name of the specified child object.

IMPORTANT

The specified object must be a direct child object of the SiebCurrency object.

Example


 

Back to top

GetRepositoryNameByIndex Method

Description

Returns the RepositoryName of the item with the specified index.

Syntax

object.GetRepositoryNameByIndex (ClassName, Index)

Arguments

Parameter Description
ClassName Required. A String value.
The ClassName of the object.
Index Required. A long integer value.
The index of the object in the value returned by the GetClassCount method.

Return Type

A String value.

Example


 

Back to top

OpenPopup Method

Description

Opens the currency calculator popup applet.

Syntax

object.OpenPopup

Return Type

None.

Example


 

Back to top

SetText Method

Description

Enters text in the text area.

Syntax

object.SetText (Text)

Arguments

Parameter Description
Text Required. A String value.
The text to enter.

Return Type

None.

Example


 

Back to top

Amount Property

Description

The value of the Amount field in the popup applet.

Syntax

object.Amount

Value Type

A String value.

Property type

Read-only property

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

CurrencyCode Property

Description

The value of the Currency Code field in the popup applet.

Syntax

object.CurrencyCode

Value Type

A String value.

Property type

Read-only property

Example


 

Back to top

ExchangeDate Property

Description

The value of the Exchange Date field in the popup applet.

Syntax

object.ExchangeDate

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

IsOpen Property

Description

Indicates whether the associated popup applet is open.

Syntax

object.IsOpen

Value Type

A long integer value.

Property type

Read-only property

Example


 

Back to top

IsRequired Property

Description

Indicates whether the object is required.

Syntax

object.IsRequired

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

Text Property

Description

The text value of the object.

Syntax

object.Text

Value Type

A String value.

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

Example


Back to top

See also: