I have a custom data list (with columns and rows) in my application which is just recognized as container, I would like to access the element in the container (e.g. a specific row, column, cell).
As I have the control type (Tools.DataListPanel), I would like to convert the Ranorex.Container to Tools.DataListPanel in order to be able to access the properties and methods of this object. Unfortunately I am not sure on how to do so. Any suggestions
I already added the dll to the references in the Ranorex Project
How to access elements of a custom list?
Re: How to access elements of a custom list?
Hi,
Could you please post a Ranorex snapshot (not screenshot) of the problematic container? I'm afraid, there is not much we can do for you without snapshot or a sample app showing the element.
Could you please post a Ranorex snapshot (not screenshot) of the problematic container? I'm afraid, there is not much we can do for you without snapshot or a sample app showing the element.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: How to access elements of a custom list?
Unfortunatley I cannot provide you a snaphshot but I can give you more details:
Element 'OStudioWcFTabList':
Class: OStudioWcFTabList
Process: ostud713
Element 'OStudioWcFTabList':
Class: OStudioWcFTabList
Process: ostud713
You do not have the required permissions to view the files attached to this post.
Re: How to access elements of a custom list?
Hi,
I'm sorry, but screenshots are not helpful at all. In fact, I think even snapshot would be not much of a use in this particular case. I think we would need a small sample app with problematic control, which would help us to decide what can or cannot be done. Can you ask your devs. to create such sample? A simple "hello world" app with hardcoded custom list would do the trick.
The problem is, that the control in question (of unknown GUI technology) is apparently not automation friendly, with no or very limited/incorrect implementation of Accessibility. This (accessibility) must be added at a code level of given control. Sadly, not all GUI control makers do it (some purposely, some due to the automation/disability ignorance).
There is also another way, how to implement missing accessibility, via advanced coding techniques, like subclassing. This allows to add missing accessibility even without access to control's code. This is unfortunately not the easiest and not 100% working solution.
Please follow the links mentioned in this post:
http://www.ranorex.com/forum/image-base ... tml#p32681
I'm sorry, but screenshots are not helpful at all. In fact, I think even snapshot would be not much of a use in this particular case. I think we would need a small sample app with problematic control, which would help us to decide what can or cannot be done. Can you ask your devs. to create such sample? A simple "hello world" app with hardcoded custom list would do the trick.
The problem is, that the control in question (of unknown GUI technology) is apparently not automation friendly, with no or very limited/incorrect implementation of Accessibility. This (accessibility) must be added at a code level of given control. Sadly, not all GUI control makers do it (some purposely, some due to the automation/disability ignorance).
There is also another way, how to implement missing accessibility, via advanced coding techniques, like subclassing. This allows to add missing accessibility even without access to control's code. This is unfortunately not the easiest and not 100% working solution.
Please follow the links mentioned in this post:
http://www.ranorex.com/forum/image-base ... tml#p32681
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration