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
TimeSlot AtList ( AtLocation("TimeSlot"), AtPosition(), AtDate(), AtOwner() ) AtLocation("TimeSlot") - A tag designation what type of object is being described
AtPosition(intPosition) - The index of the TimeSlot in the UltraDayView's TimeSlots collection
AtDate(date) - The Date that the TimeSlot is in.
AtOwner() - A Subitem that describes the Owner for the TimeSlot
TimeSlot AtList ( AtLocation("TimeSlot"), Integer Hour (0-23), Integer Minute (0-59) , AtDate(), AtOwner() ) AtLocation("TimeSlot") - A tag designation what type of object is being described
Integer Hour (0-23) - An integer representing the hour of the timeslot, based on a 24 hour clock.
Integer Minute (0-59) - An integer representing the minute of the timeslot.
AtDate(date) - The Date that the TimeSlot is in.
AtOwner() - A Subitem that describes the Owner for the TimeSlot
Owner AtList( AtLocation("Owner"), AtText | AtName | AtPosition) AtLocation("Owner") - A tag designation what type of object is being described
AtText | AtName | AtPosition - An Owner can be found using different mechanisms.
- AtText - Gets the owner based on the Text of the Owner.
- AtName - Gets the owner based on the Key of the Owner object.
- AtPosition - Gets the owner based on index of the Owner in the owners collection.

Other Subitem lists use a AtOwner() designating that the object should respect an owner. When this designation is used, this is the pattern that should be used to designate the Owner.

Owner AtList( AtLocation("Owner"), AtDate , AtText | AtName | AtPosition) AtLocation("Owner") - A tag designation what type of object is being described
AtDate() - Designates the Date of the OwnerHeader that should be acted against
AtText | AtName | AtPosition - An Owner can be found using different mechanisms.
- AtText - Gets the owner based on the Text of the Owner. - AtName - Gets the owner based on the Key of the Owner object. - AtPosition - Gets the owner based on index of the Owner in the owners collection.

This listing is used to designate an action against an OwnerHeader object.

DayHeader AtList( AtLocation("DayHeader") , AtDate, AtOwner ) AtLocation("DayHeader") - A tag designation what type of object is being described
AtDate() - Designates the Date of the DateHeader that should be acted against
AtOwner - Using an Owner object described above, which owner's date should be acted against.
AllDayAppointmentArea AtList ( Location("AllDayAppointmentArea") , AtDate, AtOwner ) AtLocation("AllDayAppointmentArea") - A tag designation what type of object is being described
AtDate() - Designates the Date of the DateHeader that should be acted against
AtOwner - Using an Owner object described above, which owner's date should be acted against.
Holiday AtList (Location("Holiday"), AtText | AtPosition , AtDate, AtOwner) AtLocation("Holiday") - A tag designation what type of object is being described
AtText | AtName | AtPosition - An Owner can be found using different mechanisms. - AtText - Gets the holiday based on the Text of the Holiday. - AtPosition - Gets the holiday based on index of the Holiday in the holiday's collection.
AtDate() - Designates the Date of the DateHeader that should be acted against
AtOwner - Using an Owner object described above, which owner's date should be acted against.
AllDayAppointment AtList( AtLocation("AllDayAppointment"), AtText | AtPosition , AtDate, AtOwner ) AtLocation("AllDayAppointment") - A tag designation what type of object is being described
AtText | AtPosition - An Appointment can be found using different mechanisms. - AtText - Gets the appointment based on the Text of the appointment. - AtPosition - Gets the appointment based on index of the appointment in the appointment's collection.
AtDate() - Designates the Date of the DateHeader that should be acted against
AtOwner - Using an Owner object described above, which owner's date should be acted against.
AllDayAppointment AtList( AtLocation("Appointment"), AtText | AtPosition , AtDate, AtOwner ) AtLocation("Appointment") - A tag designation what type of object is being described
AtText | AtPosition - An Appointment can be found using different mechanisms. - AtText - Gets the appointment based on the Text of the appointment. - AtPosition - Gets the appointment based on index of the appointment in the appointment's collection.
AtDate() - Designates the Date of the DateHeader that should be acted against
AtOwner - Using an Owner object described above, which owner's date should be acted against.
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