Description
The TouchItem
action simulates touching the control’s item in Xamarin.Forms applications.
Declaration
TestObj.TouchItem(Item)
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section | |||
Item | [in] | Required | Integer | |
Result | None |
Applies To
The method is applied to the following object:
View Mode
This method is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.
Parameters
The method has the following parameter:
Item
Specifies the zero-based index of the desired item.
Result Value
None.
Remarks
To obtain the item’s index from the item’s caption, you can use native properties of the control. For more information, see Known Issues with Xamarin.Forms applications.
See Also
List of Xamarin.Forms Controls
Testing Xamarin.Forms Applications (Legacy)
TouchItemXY Method (Xamarin.Forms Controls)