On AnuglarJs application I am working, I need to click on a link, which passes through the hidden element (div hierarchy)
When I try to highlight that element using ranorex, page auto scrolls to top of the page, where application is having static header and searched element goes behind that header causing not able to perform any action on that( I need to click on that to do next task)
Ranorex spy screenshot attached for clear understanding of problem
Element passes thru hidden element, page auto scroll to top
Element passes thru hidden element, page auto scroll to top
You do not have the required permissions to view the files attached to this post.
Re: Element passes thru hidden element, page auto scroll to top
Hi,
Please upload a Ranorex snapshot. Screenshot is unfortunately useless. By highlight you mean what exactly? You select the given element in GUI tree structure in Spy or you select an xpath in repository?
Please upload a Ranorex snapshot. Screenshot is unfortunately useless. By highlight you mean what exactly? You select the given element in GUI tree structure in Spy or you select an xpath in repository?
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 passes thru hidden element, page auto scroll to top
I cannot share the snapshot as it would have application screenshots which is against the company policy to share.
I captured the object of application using Ranorex spy then on Ranorex spy, right click on object path and highlight. There it goes to application and page scrolls to top of the page where as Item I am looking is some where in middle of page.
Hope it helps a bit to your question.
Ranorex 6.1
I captured the object of application using Ranorex spy then on Ranorex spy, right click on object path and highlight. There it goes to application and page scrolls to top of the page where as Item I am looking is some where in middle of page.
Hope it helps a bit to your question.
Ranorex 6.1
Re: Element passes thru hidden element, page auto scroll to top
Hi Anmol.ait,
Have you tried to invoke a "PerformClick" on the element?
The PerformClick should also work if the object is hidden.
Furthermore, you could try if this issue still occurs, if you turn off "EnsureVisible" for this element. Therefore, go to the properties of your element in question and set "Use Ensure Visible" to false.
Make sure to do so for all parent folders of this element.
Hope this helps.
Have you tried to invoke a "PerformClick" on the element?
The PerformClick should also work if the object is hidden.
Furthermore, you could try if this issue still occurs, if you turn off "EnsureVisible" for this element. Therefore, go to the properties of your element in question and set "Use Ensure Visible" to false.
Make sure to do so for all parent folders of this element.
Hope this helps.
You do not have the required permissions to view the files attached to this post.
Re: Element passes thru hidden element, page auto scroll to top
Hi asdf
with useEnsureVisible false it worked as expected.
Thank you the solution.
with useEnsureVisible false it worked as expected.
Thank you the solution.