Version

Click(Subitem) Method

Performs a left-mouse click on the specified subitem of this TestObject.
Syntax
'Declaration
 
Public Overloads Overrides Sub Click( _
   ByVal subitem As Rational.Test.Ft.Script.Subitem _
) 
public override void Click( 
   Rational.Test.Ft.Script.Subitem subitem
)

Parameters

subitem
This value is defined by each TestObject differently.
Remarks
The UltraTabBaseTestObject will accept:
A Point Subitem. Acts at an object relative point on the control.
Tabs can be accessed with all four standard identifiers: Position corresponds to true position in the collection, Index corresponds visible index, Name is Key, and Text is text.
  • AtPosition - Access a Tab by the position in the TabsCollection.
  • AtIndex - Access a Tab by the visible index.
  • AtName - Access a Tab via the Tab's Key.
  • AtText - Access a Tab via the Text of the Tab.

The scrollbar of the Tab can be acted against with a Location subitem.
AtLocation
  • SCROLL_LEFTBUTTON
  • SCROLL_RIGHTBUTTON
  • SCROLL_DOWNBUTTON
  • SCROLL_UPBUTTON
  • DROPDOWN
  • SCROLL_LEFT
  • SCROLL_RIGHT
  • SCROLL_UP
  • SCROLL_DOWN
  • "Max_Button"
  • "Min_Button"

The close button of the Tab can be acted against with a Location subitem or List subitem depending of the CloseButtonLocation property value.
If CloseButtonLocation is TabCloseButtonLocation.HeaderArea:
AtLocation("CLOSE_BUTTON")
If CloseButtonLocation is TabCloseButtonLocation.Tab:
AtList([Tab identifier], AtLocation("CLOSE_BUTTON"))
Tab identifier can be: AtPosition, AtIndex, AtName, AtText
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also