TouchItem Method (Xamarin.Forms Controls)

Applies to TestComplete 15.64, last modified on May 16, 2024


The TouchItem action simulates touching the control’s item in Xamarin.Forms applications.



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.


The method has the following parameter:


Specifies the zero-based index of the desired item.

Result Value



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)

Highlight search results