Object Model Reference for GUI Testing > Siebel > GetRepositoryName Method

SiebScreenViews Object

Description

A screen view 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 SiebScreenViews object.

Note: You can also view a list and descriptions of the SiebScreenViews 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 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 GetUIName Returns the UIName (display name in the user interface) of the object.
Method Goto Navigates to a screen view.
Method IsExists Indicates whether the specified object exists.
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.
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 ActiveView The RepositoryName of the active View, as represented by the active Aggregate Category link.
Property ClassName The class of the object.
Common Property Exist Checks whether the object currently exists in the open application.
Property L2Count The number of second-level screen views on the current screen.
Property L3Count The number of third-level screen views on the current screen.
Property L4Count The number of fourth-level screen views on the current screen.
Property RepositoryName The name of the object as it is stored in the repository.
Property UIName The name of the object as it appears in the user interface.

 

Back to top

GetRepositoryName Method

Description

Returns the RepositoryName of the object.

Syntax

object.GetRepositoryName (ViewUIName, Level)

Arguments

Parameter Description
ViewUIName Required. A String value.
The UIName of the View object.
Level Required. A String value.
The level (L2, L3, or L4) of the View object.

Return Type

A String value.

The repository name of the specified View object.

Example


 

Back to top

GetRepositoryNameByIndex Method

Description

Returns the RepositoryName of the item with the specified index.

Syntax

object.GetRepositoryNameByIndex (Index, Level)

Arguments

Parameter Description
Index Required. A long integer value.
The index of the object in the appropriate Count property (L2Count, L3Count, or L4Count).
Level Required. A String value.
The level (L2, L3, or L4) 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 (ViewRepositoryName, Level)

Arguments

Parameter Description
ViewRepositoryName Required. A String value.
The RepositoryName of the object.
Level Required. A String value.
The level (L2, L3, or L4) of the object.

Return Type

A String value.

Example


 

Back to top

Goto Method

Description

Navigates to a screen view.

Syntax

object.Goto (View, Level)

Arguments

Parameter Description
View Required. A String value.
The name of the screen view.
Level Required. A String value.
The level (L2, L3, or L4) of the screen view.

Return Type

None.

Example


 

Back to top

IsExists Method

Description

Indicates whether the specified object exists.

Syntax

object.IsExists (ViewRepositoryName, Level)

Arguments

Parameter Description
ViewRepositoryName Required. A String value.
The RepositoryName of the screen view.
Level Required. A String value.
The level (L2, L3, or L4) of the screen view.

Return Type

A long integer value.

Example


 

Back to top

ActiveView Property

Description

The RepositoryName of the active View, as represented by the active Aggregate Category link.

Syntax

object.ActiveView

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

L2Count Property

Description

The number of second-level screen views on the current screen.

Syntax

object.L2Count

Value Type

A long integer value.

Property type

Read-only property

Example


 

Back to top

L3Count Property

Description

The number of third-level screen views on the current screen.

Syntax

object.L3Count

Value Type

A long integer value.

Property type

Read-only property

Example


 

Back to top

L4Count Property

Description

The number of fourth-level screen views on the current screen.

Syntax

object.L4Count

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: