GDATASoftwareAG / robotframework-flaui

Windows user interface automation library for Robot-Framework. FlaUILibrary is a wrapper for the FlaUI automation library.
MIT License
60 stars 12 forks source link

Grid Issues wrong row count wrong data #174

Closed noubar closed 7 months ago

noubar commented 7 months ago

WPF grid with scroll has caching system is controlled by VirtualizingStackPanel.IsVirtualizing property If it is set to true, "Get all data from grid" and "Get grid rows count" deliver only the visiable items and count of visible items.

get grid rows count can be easily fixed by changing Rows.Length to RowCount in https://github.com/GDATASoftwareAG/robotframework-flaui/blob/main/src/FlaUILibrary/flaui/module/grid.py#L87C56-L87C78

similar issue: https://stackoverflow.com/questions/25084114/how-to-get-all-rows-from-a-wpf-datagrid-with-scroll