How to tell if you are at the end of a swipable element
How to tell if you are at the end of a swipable element
Hi everyone, I would like to know if there is a Ranorex API method to tell if, inside a swipable element, we have reached the end so that by doing another swipe the visible area don't change. Thanks in advance!
- RobinHood42
- Posts: 324
- Joined: Fri Jan 09, 2015 3:24 pm
Re: How to tell if you are at the end of a swipable element
Hi fsiglia,
No, there is no way to check or control the swipe action. You'll need to find the correct swipe length by trial and error, but once found, it should, in most scenarios, be correct
Cheers,
Robin
No, there is no way to check or control the swipe action. You'll need to find the correct swipe length by trial and error, but once found, it should, in most scenarios, be correct
Cheers,
Robin
Last edited by RobinHood42 on Thu Sep 20, 2018 11:26 am, edited 2 times in total.
Re: How to tell if you are at the end of a swipable element
Not necessarily, if the element is filled dynamically, with random number of itemsRobinHood42 wrote: ↑Thu Sep 20, 2018 10:09 amYou'll need to find the correct swipe length by trial and error, but once found, it always will be correct
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
- RobinHood42
- Posts: 324
- Joined: Fri Jan 09, 2015 3:24 pm
Re: How to tell if you are at the end of a swipable element
Hi,
Yeah, true that. Added a *should* to my answer
Cheers,
Robin
Yeah, true that. Added a *should* to my answer
Cheers,
Robin
Re: How to tell if you are at the end of a swipable element
ok, I will stick with the current method then. I take a snapshot of the current view before every swipe so that I can compare the elements found before with the elements found after the swipe. If they are the same I've reached the end of the swipable area.