I don't know if item is valid after selecting menu item. How to check this?
I think it has worked in a previous version of Ranorex. But I'm not sure. Maybe it's a change in AUT.
As long as the workaround works, it's no problem for me.
Search found 8 matches
- Mon Mar 29, 2010 1:52 pm
- Forum: Bug Reports
- Topic: TreeItem looses data
- Replies: 3
- Views: 2450
- Mon Mar 29, 2010 11:38 am
- Forum: Bug Reports
- Topic: TreeItem looses data
- Replies: 3
- Views: 2450
TreeItem looses data
After opening the context menu of a treeitem, the treeitem object looses all of its data. For example: TreeItem item = ... item.Click(MouseButtons.Right); repo.ContextMenu.MenuItem.Select(); Now the properties of "item" are empty, 0 or false. As a workaround I can do: TreeItem item = ... RxPath item...
- Fri Jan 22, 2010 10:52 am
- Forum: General Questions
- Topic: Absolute RxPath from RepoItemInfo
- Replies: 1
- Views: 2651
Absolute RxPath from RepoItemInfo
Is it possible to get the absolute RxPath out of a RepoItemInfo?
The "Path" property of it just returns the relative path.
I think it would be a nice feature to get absolute paths from Info objects.
Regards
Max
The "Path" property of it just returns the relative path.
I think it would be a nice feature to get absolute paths from Info objects.
Regards
Max
- Fri Nov 20, 2009 11:19 am
- Forum: General Questions
- Topic: How can I parameterize part of object in repository
- Replies: 3
- Views: 2681
Re: How can I parameterize part of object in repository
But you can also create a new Button-object/adapter of the dynamically created XPath in the code. That is even possible in the versions before 2.2. What is the advantage of the solution with the info poperty?
- Wed Nov 18, 2009 2:11 pm
- Forum: Automation API
- Topic: Modal dialog after selecting contextmenu item
- Replies: 2
- Views: 2343
Re: Modal dialog after selecting contextmenu item
I replaced the select with click, what makes it working.
Usually I use select, because I had some problems with click on menuitems in the past.
Usually I use select, because I had some problems with click on menuitems in the past.
- Wed Nov 18, 2009 11:49 am
- Forum: Automation API
- Topic: Modal dialog after selecting contextmenu item
- Replies: 2
- Views: 2343
Modal dialog after selecting contextmenu item
My test selects an item from a contextmenu. After that a modal dialog opens in the AUT. Then Ranorex is hanging until I close the modal dialog manually. If I debug/pause at this point, the application stands at the select-method. It seems that the select tries something to do after it "selects" the ...
- Wed Oct 14, 2009 9:30 am
- Forum: Automation API
- Topic: Validate.NotExists?
- Replies: 3
- Views: 2420
Re: Validate.NotExists?
Thanks for your reply.
I found a similar post in "General Questions". Sorry for asking without using search before
http://www.ranorex.com/forum/how-to-val ... t1047.html
The upcoming version of Ranorex seems to get really needful features.
Max
I found a similar post in "General Questions". Sorry for asking without using search before
http://www.ranorex.com/forum/how-to-val ... t1047.html
The upcoming version of Ranorex seems to get really needful features.
Max
- Mon Oct 12, 2009 4:00 pm
- Forum: Automation API
- Topic: Validate.NotExists?
- Replies: 3
- Views: 2420
Validate.NotExists?
Why isn't there a Validate.NotExists-Method? I think it would be useful. What is your suggested way to check if for example a form doesn't exist? Following code works for me till now: try { if(Host.Local.FindSingle(path) != null) { return true; } return false; } catch(ElementNotFoundException ex) { ...