Testing Siebel Business Applications > Functional Test Object Reference > Common Test Automation Object Methods >

GetRepositoryNameByIndex Method


The GetRepositoryNameByIndex method returns the RepositoryName of the specified object.

Available from

SiebApplet Object, SiebApplication Object, SiebCurrency Object, SiebMenu Object, SiebPageTabs Object, SiebScreen Object, SiebScreenViews Object, SiebTask Object, SiebTaskStep Object, SiebTaskUIPane Object, SiebToolbar Object, SiebView Object, SiebViewApplets Object

Syntax A (SiebApplet Object, SiebApplication Object, SiebCurrency Object, SiebScreen Object, SiebTask Object, SiebTaskStep Object, SiebTaskUIPane Object, SiebView Object)

GetRepositoryNameByIndex (ClassName, ClassIndex)

Argument
Description

ClassName

A String that indicates the ClassName of the object.

ClassIndex

An Integer that indicates the index of the object in the value returned by the GetClassCount method.

Syntax B (SiebMenu Object, SiebToolbar Object, SiebViewApplets Object)

GetRepositoryNameByIndex (Index)

Argument
Description

Index

An Integer that indicates the index in the Count property of the object.

Syntax C (SiebPageTabs Object)

GetRepositoryNameByIndex (Index, [NavType])

Argument
Description

Index

An Integer that indicates the index of the PageTab or View object in the corresponding Count property (ScreenCount or ViewCount).

NavType

(Optional) A String that indicates the type (Screen or View) of navigation object.

When NavType is defined as Screen, then Index should be an index into the ScreenCount property.

When NavType is defined as View, then Index should be an index into the ViewCount property.

If the NavType argument is not defined the default value of Screen is used.

Syntax D (SiebScreenViews Object)

GetRepositoryNameByIndex (Index, Level)

Argument
Description

Index

An Integer that indicates the index of the object in the appropriate Count property (L2Count, L3Count, or L4Count).

Level

A String that indicates the level (L2, L3, or L4) of the object.

Returns

A String indicating the RepositoryName of the object.

Testing Siebel Business Applications Copyright © 2006, Oracle. All rights reserved.