FlaUI / FlaUInspect

Inspect tool to inspect UIs from an automation perspective
MIT License
422 stars 100 forks source link

UI elements no longer detectable after navigation #24

Closed ThorIrgens closed 1 year ago

ThorIrgens commented 1 year ago

Hi.

We have experienced, that clearly detectable UI elements suddenly are no longer detectable after performing some navigation forth and back. The team have not been able to explain why, but have created a small app that easily reproduces the problem.

To reproduce, start the attached solution. Verify you can track the "Test FlaUI" in the data table. Click the top "TestFlaUI" button in the data grid then click "Back". Do this twice. Refresh the Inspector. Track the "TestFlaUI" button.

Nothing is visible under the Tab page and no amount of refreshing the Inspector will make them visible. If you only do the navigation once and refresh, then the button is trackable, it only breaks on the 2nd navigation. You can keep on tracking the UI element as long as you only do the navigation once between Inspector refreshes...

Hope you can help me figure out why the Inspector breaks.

Best regards Thor FlaUI_DataGridButtons.zip

ThorIrgens commented 1 year ago

Since this has gotten no traction and is not a specific inspector problem, I have raised it in the FlaUI page instead (https://github.com/FlaUI/FlaUI/issues/578). Will close this issue to not have duplicates.