Search found 10 matches
- Wed Nov 21, 2012 5:23 pm
- Forum: General Questions
- Topic: Automating MSAA Tree
- Replies: 3
- Views: 2917
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 appreciat...
- Fri Nov 16, 2012 6:06 pm
- Forum: General Questions
- Topic: Automating MSAA Tree
- Replies: 3
- Views: 2917
Automating MSAA Tree
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 Ra...
- Thu Oct 04, 2012 3:20 pm
- Forum: Automation API
- Topic: Trying to get the .Pressed to work for a button - help?
- Replies: 13
- Views: 3929
Re: Trying to get the .Pressed to work for a button - help?
Thanks for all your timely replies and insightful help. Arthur's code works! However, if I changed the path to the button I test, the output becomes false, false, false. I think I know the reason now. Calculator's button has flavorname of win32 and my button has wpf. I believe that is the root cause...
- Wed Oct 03, 2012 8:58 pm
- Forum: Automation API
- Topic: Trying to get the .Pressed to work for a button - help?
- Replies: 13
- Views: 3929
Re: Trying to get the .Pressed to work for a button - help?
If you button is a "Momentary" button (it changes back to the un-clicked stated on it's own when the mouse button is released) then you will not see a change in the Pressed attribute. Would a "Momoentary" button's Pressed state always be false? The question is: what is the state of the button while...
- Wed Oct 03, 2012 4:41 pm
- Forum: Automation API
- Topic: Trying to get the .Pressed to work for a button - help?
- Replies: 13
- Views: 3929
Re: Trying to get the .Pressed to work for a button - help?
Also, it was a wpf button. Would that make a difference?
- Wed Oct 03, 2012 4:23 pm
- Forum: Automation API
- Topic: Trying to get the .Pressed to work for a button - help?
- Replies: 13
- Views: 3929
Re: Trying to get the .Pressed to work for a button - help?
Hi, we're using Ranorex 3.2.1. We do see the Pressed property in the spy too. The button was pressed (based on the effects of the application), but the pressed property was never true.
- Tue Oct 02, 2012 10:11 pm
- Forum: Automation API
- Topic: Trying to get the .Pressed to work for a button - help?
- Replies: 13
- Views: 3929
Re: Trying to get the .Pressed to work for a button - help?
Implemented the above suggestion: Mouse.MoveTo(_rexButton); Mouse.ButtonDown(MouseButtons.Left); var p1 = _rexButton.Pressed; Mouse.ButtonUp(MouseButtons.Left); var p2 = _rexButton.Pressed; return (p1 || p2); I was not abled to get the Pressed property to return true. It always returns false. Under ...
- Wed Aug 01, 2012 11:08 pm
- Forum: General Questions
- Topic: Click on hidden item in listbox
- Replies: 14
- Views: 8047
Re: Click on hidden item in listbox
Hi, We have a similar issue, however we only have a license to the Ranorex API and not the studio. How can we get all the items in a listbox if for example there are 1000 items but only 10 are visible at a time, ranorexListBox.Items returns only the visible items. We need this functionality for many...
- Fri Mar 09, 2012 2:16 pm
- Forum: Automation API
- Topic: Listbox SelectionMode property
- Replies: 2
- Views: 2352
Re: Listbox SelectionMode property
Thanks for your timely reply. TK
- Thu Mar 08, 2012 4:09 pm
- Forum: Automation API
- Topic: Listbox SelectionMode property
- Replies: 2
- Views: 2352
Listbox SelectionMode property
How would Ranorex retrieve the SelectionMode property of a wpf listbox? Basically, I want to know whether a listbox enables multi-select or not. Thanks in advance.