Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

A tree-view in HTML page with nodes generated with java script in run time is not visible in the UI Automation Tree. Need Help

$
0
0

I have a HTML page with an IFrame. Inside the Iframe there is a table with a tree view

<iframe><table><tr><td><treeview id="tv1"></treeview></td></tr></table></iframe>

In UIA, i am able to traverse till the tree view but not able to see it.

I have used the TreeWalker.RawViewWalker Field to traverse the node from the desktop Automation.RootElement. 

I tried to use AutomationElement.FromPoint method to check whether i am able to get that element. Fortunately i was able to get the automation element. 

i tried to get the path to root element from the node element using the TreeWalker.RawViewWalker. I was able to get the parent path to the root element.

But trying the reverse way like navigating from root element to tree node, was not getting the element for me. 

Please help me with suggestions or inputs to resolve this issue. 


Viewing all articles
Browse latest Browse all 585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>