Skip to content

DataGridRows not accessible in Release mode #3079

@DanielGlick

Description

@DanielGlick

Describe the bug

DataGridRows are not able to be recognized when running UITests when the app is deployed in release mode. This is a problem for me because I need to run the app in release mode to make sure I test closest to what the customer will be getting in my app.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Run the attached project in Release mode
    ReleaseDataGrid.zip
  2. Open the Inspect

tool or Windows accessibility insights
3. Hover over the first column and first row
BUG 1

  1. Click the first row in the first column
    BUG 2

This can also be done by deploying the app in release, then running the uitest located in UnitTest1 in the UITests project in debug.
NOTE: You must have Windows Application Driver running for the uitest to run

Expected behavior

  1. It should highlight that control and tell me that it is a DataGridRow or something like that
  2. It highlights the data item but in the tree it is not where I expect it to be. It should be in

If you run the uitest it will fail because it could not find the row

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

NuGet Package(s): 

Package Version(s): 

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ x ] May 2019 Update (18362)
- [ ] Insider Build (build number: )

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ x ] October 2018 Update (17763)
- [] May 2019 Update (18362)
- [ ] Insider Build (xxxxx)

Device form factor:
-Desktop

Visual Studio 
- 2019

## Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

DataGrid 🔠Issues on DataGrid controlbug 🐛An unexpected issue that highlights incorrect behaviorhelp wantedIssues identified as good community contribution opportunities

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions