WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

fix performance issue

Open mhodali3 opened this issue 3 years ago • 3 comments

Hi, thank you for the good work you did in developing winappdriver ,

I need to ask if there is a plan to fix performance soon ?

The performance in the data grid specifically is too bad. This problem prevented us from continuing to use winappdriver .

Is there an intention to complete the development?

Thanks. Regards

mhodali3 avatar May 29 '22 09:05 mhodali3

Welcome to both github and this forum. Since this is your first post in both, can you give us details? I currently have my code running in .3 seconds to find a cell. I am using Grid.RowId and Grid.ColumId attributes on the cells. Have you tried some similar?

liljohnak avatar May 29 '22 13:05 liljohnak

hi @liljohnak , could you please review this issue i opened before it contains my problem https://github.com/microsoft/WinAppDriver/issues/1684

Thanks ,

mhodali3 avatar May 30 '22 06:05 mhodali3

Have you tried something like this?

private AppiumWebElement GetCell(AppiumWebElement grid, int rowId, int columnId)
{
return grid.FindElementByXPath("*/*")
.First(row => row.GetAttribute("Grid.RowId").Equals(rowId.ToString())
.First(column => column.GetAttribute("Grid.ColumnId").Equals(columnId. ToString());
}

liljohnak avatar May 30 '22 16:05 liljohnak