I've tried looking for a solution here and elsewhere online but haven't found anything solid.
Im pulling my hair out trying to get (what look to be) gridview cell values out of a panel in a Win32 app. I was hoping there was some way of casting a Panel control from the application into a datagrid or some kind of useful
white control, however, only casting to a panel will not throw an exception.
Panels unfortunately have no item/cell/row properties so I cannot find where the values are located in order to process them in any way.
When I save the control from the app into a UIItem.panel object, at run-time, the object has an actionlistener property with an items collection that appears to be a list of controls/items.
Is there a standard way to pull panels with a gridview structure into a usable collection object?
Heres the code I have for grabbing the object:
Dim _App As App
Dim StartInfo As New ProcessStartInfo("path.exe")
_App = App.Launch(StartInfo)
If _App Is Nothing Then
Window = _App.GetWindows()(0)
Dim _panel As Panel = DirectCast(Window.[Get](SearchCriteria.ByAutomationId("2001")), Panel)
Here is the control informatyion from UIAVerfy:
Kind of a shot in the dark but any help is appreciated. Thanks.