Search found 3 matches

by xbyang
Thu Jan 14, 2010 6:15 am
Forum: Automation API
Topic: Why it is so slow when I try to load all the objects?
Replies: 3
Views: 3253

Re: Why it is so slow when I try to load all the objects?

Thank you for your reply. My algorithm is as following, it takes 10 seconds to read read the gui objects for 1 application. private void CreateStateFromRealGUI() { Process process = Process.GetProcessById((int)YGUIStates.m_ProcessId); if (process == null) { return; } try { foreach (Ranorex.Adapter a...
by xbyang
Tue Jan 12, 2010 12:56 am
Forum: Automation API
Topic: Is there a quicker way to load all windows of a process?
Replies: 1
Views: 2025

Is there a quicker way to load all windows of a process?

Does anyone know how to load all windows and their objects of a given process?
by xbyang
Tue Jan 12, 2010 12:54 am
Forum: Automation API
Topic: Why it is so slow when I try to load all the objects?
Replies: 3
Views: 3253

Why it is so slow when I try to load all the objects?

When I try to traverse all the children and create a object tree, it takes about 10 minutes to finish the task. Does anyone know the reason? or could please anyone tell me a faster way to load all the objects of an application?