Hi:
We are currently attempting to automate some of our relatively older applications. We are experiencing a problem with a Tree, or TreeView.
We can find the tree using the Spy, but the tree has not children nodes. (UI does have childrens, whether expanded or not)
I tried using RemoteInvoke with Ranorex.Control and was not successful accessing the object.
Atthaced is the snapshot.
Any comments would be helpful on how to access the UI Tree control .
Thanks,
TK
Automating MSAA Tree
Automating MSAA Tree
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Automating MSAA Tree
Hi,
Some general questions at first:
Do you have installed the .Net 4.0 full/extended version on your machine?
Do you have already tried it with the current version (3.3.4)?
Is this a custom or a standard TreeView control?
Are you able to identify the tree items with Inspect?
Do you know our blog about invoke remotely respectively about how to add accessibility?
Transfering data to and from a .NET control
Enabling automation for 3rd party controls by adding Accessibility
There are also diffenerent forum posts about how to use invoke remotely, here are two links:
link1, link2.
Regards,
Markus
Some general questions at first:
Do you have installed the .Net 4.0 full/extended version on your machine?
Do you have already tried it with the current version (3.3.4)?
Is this a custom or a standard TreeView control?
Are you able to identify the tree items with Inspect?
Do you know our blog about invoke remotely respectively about how to add accessibility?
Transfering data to and from a .NET control
Enabling automation for 3rd party controls by adding Accessibility
There are also diffenerent forum posts about how to use invoke remotely, here are two links:
link1, link2.
Regards,
Markus
Re: Automating MSAA Tree
Thanks. For some reason, Ranorex Spy could not identify the TreeItem (or TreeNode). I was successful in using remoteInvoke to grab the System.Windows.Controls.TreeView. Once I have access of the TreeView object, I was able to click on the nodes using the Bound property of TreeNode.
Greatly appreciate the Forum's help.
TK
Greatly appreciate the Forum's help.
TK
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Automating MSAA Tree
Hello,
Thank you for the Snapshot.
Please install our current version of Ranorex from here.
Is it possible to track the TreeItem with 'Instant Tracking'?
Simply move your mouse pointer over a menu item and press the <CTRL> + <Win> key combination to instantly track the UI element.
If it is still not possible to find your item you could disable MSAA filter by using an API call:
Markus (T)
Thank you for the Snapshot.
Please install our current version of Ranorex from here.
Is it possible to track the TreeItem with 'Instant Tracking'?
Simply move your mouse pointer over a menu item and press the <CTRL> + <Win> key combination to instantly track the UI element.
If it is still not possible to find your item you could disable MSAA filter by using an API call:
Configuration.Current["plugins.msaa.FilterEnabled"] = false;Regards,
Markus (T)