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
The Subitem designating which object to operate against.
Remarks
Target object Subitem Patterns Desciption
MonthHeader AtList ( AtLocation("MonthHeader") , AtDate(month,year) ) AtLocation("MonthHeader") - A tag designation what type of object is being described AtDate - The month and year of the header to act against. Month Scrolling Buttons AtLocation(SCROLL_LEFTBUTTON) | SCROLL_RIGHTBUTTON Used to navigate left or right on the month scroll buttons.
Day of Week Header AtList( AtDate(month, year), AtPosition()) AtDate(month, year) - The month and year of the header to act against. AtPosition() - The Day of Week header to be acted against.
Day AtDate(month, day, year) Acts against the day provide as input.
Week Number AtWeek(weekNumber, monthWeekStartsIn, yearWeekStartsIn) Acts against the week number element on the calendar, if this feature is enabled.
Date Button - The drop down area can support buttons AtButton(AtText | AtPostion | AtIndex) Acts against the button object found with the inputted subitem. - AtText - finds the button using the text of the button - AtPosition - finds the button using the position of the button in the underlying collection - AtIndex - finds the button using the visible position of the button in the underlying collection
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