Bug 51616 - Impossible to set AutomationIds for cells in a TableView control
Summary: Impossible to set AutomationIds for cells in a TableView control
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.3
Hardware: PC All
: Normal normal
Target Milestone: ---
Assignee: Paul DiPietro [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-01-18 17:41 UTC by Bogdan
Modified: 2017-06-20 15:58 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_REPRODUCIBLE

Description Bogdan 2017-01-18 17:41:56 UTC
Using TableSections impossible to add AutomationIds
Code example:

                <TableSection>
                    <views:customView AutomationId="CustomId"
                                            Text="someText" Detail="{Binding ......}"
                                            Command="{Binding ........}"
                                            IsRequired="True" />
                </TableSection>
Comment 1 Bogdan 2017-01-18 18:01:24 UTC
Actual result: the automationids are ignored and not rendered at runtime

Expected result: elements are present with Ids
Comment 2 Paul DiPietro [MSFT] 2017-02-15 20:30:39 UTC
Could you upload your reproduction? I can't seem to reproduce this and it looks like AutomationId set on a ViewCell inside a TableView/Section seems to exist at runtime.
Comment 3 Bogdan 2017-02-27 14:11:37 UTC
Unfortunately I can't upload project. Could you show example of your code? I'll try to look for issues in mine code?
Comment 4 Bogdan 2017-04-14 10:40:17 UTC
Any updates?
Comment 5 Bogdan 2017-04-14 10:47:37 UTC
Could you point where I can find correct code?
Comment 6 Rui Marinho 2017-06-20 15:58:40 UTC
Unfortunately, we’re unable to reproduce this report. If this issue is still occurring for you, please reopen this issue and attach a reproduction to the bug by starting with a clean Xamarin.Forms project adding just the code necessary to demonstrate the issue. 
 
Here are some reproduction best practices: https://gist.github.com/jassmith/92405c300e54a01dcc6d