Hello!
Can you advise how to scroll within iOS table view to the cell with predefined name?
When I invoke action "EnsureVisible" for cell that is now invisible, it doesn't scroll to this element, and fails with error: "no element found for path".
Are there some built in methods for such scrolling?
Thanks,
Oksana
How to scroll within iOS table to element with some name
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to scroll within iOS table to element with some name
Hello,
It looks like that 'Ensure Visible' might not work if elements are not visible in a table.
Could you please try to use 'ScrollTable' with a specified index to scroll to your cell?
Please take a look at our User Guide:
http://www.ranorex.com/support/user-gui ... html#c4476
Regards,
Markus (T)
It looks like that 'Ensure Visible' might not work if elements are not visible in a table.
Could you please try to use 'ScrollTable' with a specified index to scroll to your cell?
Please take a look at our User Guide:
http://www.ranorex.com/support/user-gui ... html#c4476
Regards,
Markus (T)
Re: How to scroll within iOS table to element with some name
Hello,
Thanks for answer. But the thing is that I need to scroll to element by its name, not an index (index can always change).
Is it possible?
Sincerely,
Oksana.
Thanks for answer. But the thing is that I need to scroll to element by its name, not an index (index can always change).
Is it possible?
Sincerely,
Oksana.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to scroll within iOS table to element with some name
Hello,
Unfortunately, it's not possible to scroll to the element by name.
Therefore, EnsureVisible is not working in this case.
The only way would be to scroll to a specified index.
Regards,
Markus (T)
Unfortunately, it's not possible to scroll to the element by name.
Therefore, EnsureVisible is not working in this case.
The only way would be to scroll to a specified index.
Regards,
Markus (T)