https://postimg.org/image/5qcy3nkif/
I have two queries.
1) I have a table which is made up of Cells. Each cell consist of Text, Filter and a pin button as can be seen in the image. I want to click on "Filter" Button(shown by the Blue Boundary), so that i can customize the menu. Ranorex is not identifying the filter as a separate entity/object. I want it to recognize the filter as a separate entity. Ranorex is just able to identify the cell and its InnerText but not filter. How can i achieve this?
2) On Double Clicking at the boundary between the two cells(indicated by Red Boundary), the former cell expands. I tried the click function with various adjustments in order to click at the boundary but was unable to make the click function work at the boundary. How can i automate my application so that click occurs at the boundary and not before or after? I am trying to write UserCode module for the same.
Element Not Being Identified
Re: Element Not Being Identified
Hi,
Could you please upload a Ranorex snapshot of the problematic element(s)? Screenshot is unfortunately not helpful here.
If Ranorex is not able to detect the button as an individual element, then it's most probably because the element has not properly implemented accessibility. But it's hard to say what exactly is wrong and how to achieve what you want without Ranorex snapshot or even better a sample app.
Could you please upload a Ranorex snapshot of the problematic element(s)? Screenshot is unfortunately not helpful here.
If Ranorex is not able to detect the button as an individual element, then it's most probably because the element has not properly implemented accessibility. But it's hard to say what exactly is wrong and how to achieve what you want without Ranorex snapshot or even better a sample app.
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: Element Not Being Identified
Thanks for the snapshot. Unfortunately, the control in question is a part of Infragistic Grid control. This control (and some other Infragistic controls) makes the identification of some of its elements problematic (due to the lack of proper accessibility implementation). Basically, there is not an easy way to identify elements you want in this 3rd party grid control. You will most probably have to use something called InvokeRemotely, as mentioned here:
http://www.ranorex.com/forum/read-a-tex ... tml#p38563
Eventually, the easiest way to identify and click the "filter" button could be using image-based recording.
Check also the forum posts discussing Infragistis Grid control:
http://www.ranorex.com/search.html?q=%2 ... %20Grid%22
http://www.ranorex.com/forum/read-a-tex ... tml#p38563
Eventually, the easiest way to identify and click the "filter" button could be using image-based recording.
Check also the forum posts discussing Infragistis Grid control:
http://www.ranorex.com/search.html?q=%2 ... %20Grid%22
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
-
- Posts: 9
- Joined: Tue Jun 14, 2016 3:26 pm
Re: Element Not Being Identified
Hi,
Thanks for the quick reply. I can't help myself relating how to use InvokeRemotely specific to my testcase. Can you help me in this?
Thanks for the quick reply. I can't help myself relating how to use InvokeRemotely specific to my testcase. Can you help me in this?
Re: Element Not Being Identified
I'm sorry, but I can't help you with InvokeRemotely. Lucky for me, I was not yet in a need to use it in my projects. I only know such possibility exists, but I have zero experience with it Anyway, I think in your particular case, it would be better to use screenshot-based automation (just for the 'filter' control).
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
-
- Posts: 9
- Joined: Tue Jun 14, 2016 3:26 pm
Re: Element Not Being Identified
Hey,
Haha thanks for the suggestion, i tried InvokeRemotely for my case but even i would prefer screenshot based. Thanks a Ton!!!! Cheers
Haha thanks for the suggestion, i tried InvokeRemotely for my case but even i would prefer screenshot based. Thanks a Ton!!!! Cheers