Forum Xamarin Test Cloud (Read Only)

AutomationId not detected on SwitchCell and EntryCell

I have the following XAML file:

<?xml version="1.0" encoding="UTF-8"?>
<ContentPage AutomationId="SettingsPage" xmlns="" xmlns:x="" x:Class="barcode.Pages.SettingsPage">
        <TableView Intent="Settings" AutomationId="SettingsTable">
            <TableSection Title="Integration Server">
                <SwitchCell AutomationId="UseHttps" Text="Use Https" On="{Binding UseHttps}"/>
                <EntryCell AutomationId="ServerUrl" Label="Server Address" Placeholder="" Text="{Binding ServerUrl}" Keyboard="Url"/>

In REPL (and of course in UITest), I can see the AutomationID for TableView and ContentPage, but not for SwitchCell and EntryCell.

Can anyone help with this, please?


Sign In or Register to comment.