2gis / Winium.Desktop

Winium.Desktop is Selenium Remote WebDriver implementation for automated testing of Windows application based on WinFroms and WPF platforms.
Mozilla Public License 2.0
402 stars 140 forks source link

Unable to enter text in data Grid #302

Open raveendaranugu opened 5 years ago

raveendaranugu commented 5 years ago

Hi , I am trying to enter text in the Data grid which is having the property ClassName=MSFlexGridWndClass but I couldn't able to perform any action on it.. Our application is Old legacy desktop app which is based on VB6. ControlType "Pane" is not even expandable so I couldn't even get more properties for the elements/fields under that Grid.

image

image

nananand7 commented 4 years ago

use the parent child hierarchy to trace and do action to any element.

if the direct find element not helps try with parent element.

Eg: driver.find_element(parent_datagrid).find_element(child)