WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

Navigate between elements on the 'Table'

Open ant-skelia opened this issue 8 years ago • 2 comments

Hi all, Maybe someone has existence hot to navigate between element on the Table? In my case, I can't use 'Name', because there are a lot of elements with the same name property.
image

image

And I am very disappointed that there are a lot of problems with access to element ByXpath and any real answers form support.

ant-skelia avatar Jun 26 '18 12:06 ant-skelia

And the answer is: winDriver.findElementByAccessibilityId("flyoutFormSection_ContentTable").findElement(By.name(sectionName)).click();

ant-skelia avatar Jun 26 '18 13:06 ant-skelia

Glad to see that you found the solution @ant-skelia. You can use the UI Recorder to pick up the XPath, but in some cases you will have to remove the prefix in the XPath for it to be picked up.

We're looking into improving XPath performance for our next release.

Marking issue as closed.

hassanuz avatar Aug 16 '18 20:08 hassanuz