Hi, I'm very new to .Net and just trying out some automation with White. I'm loving it but hitting a wall trying to read data from a datagridview. I've read a bunch of posts here about the problem but haven't been able to solve the problem. A bit of friendly
help would be much appreciated.
Table grid = mainWindow.Get<Table>("dgvItems");
This code works for me on a table with 7 items but it doesn't work on a larger table within the same app. By "doesn't work" I mean the console just sits there forever, I didn't wait longer than 5 minutes. So if I try limiting the search depth,
once again it works on the small table, but not on the larger:
Table grid = mainWindow.Get<Table>("dgvMarketSearch");
CoreAppXmlConfiguration.Instance.RawElementBasedSearch = true;
CoreAppXmlConfiguration.Instance.MaxElementSearchDepth = 9;
CoreAppXmlConfiguration.Instance.RawElementBasedSearch = false;
My depth is 9 because that's where the tables are. Is this my problem? I can't change the app, I'm just trying to read data from it. Anything else I can try?