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

UIAutomation: Getting Row from Janus GridEx Control extremely Slow

$
0
0

It was extremely slow with Finding row from the grid that I am using (Janus.Windows.GridEX.v3.dll),OS- Windows7, 64bit, UIAutomationClient.dll Version: 4.0.0.0. I have 5000 rows in my table, and using following code to fethc a row.

AutomationElement gridElement = AutomationElement.RootElement.FindFirst(TreeScope.Descendants,
new PropertyCondition(AutomationElement.AutomationIdProperty, "_gridEX"));

Condition c = new PropertyCondition(
    AutomationElement.NameProperty, "Row 1000",
    PropertyConditionFlags.IgnoreCase);

AutomationElement ae = gridElement.FindFirst(
    TreeScope.Element | TreeScope.Children, c);



Viewing all articles
Browse latest Browse all 585

Trending Articles



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