Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
Sell your Land, House on idamata.lk for FREE
sajith.xp.pk
Updated:
Yesterday at 9:03 AM
Handmade Character Soft Toys
anil1961
Updated:
Tuesday at 2:11 PM
Bodim.lk out now !
Manoj Suranga Bandara
Updated:
Sunday at 3:05 AM
Power Lifting Lever Belt
SkullVamp
Updated:
Jun 13, 2026
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Jun 13, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
God is here- AMA
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="EMINƎM" data-source="post: 24260119" data-attributes="member: 368683"><p>In latest version of appium to scroll on the screen or to scroll the tables or to implement drag and drop functionalites we have to use TouchAction.</p><p></p><p>If we want to scroll in a scrollable layout first we have to get the bounds of that layout and give the coordinates in side that bounds.</p><p></p><p>Consider the below line of code.</p><p></p><p>[CODE]</p><p>new TouchAction(driver).press(300,200).moveTo(300,100).release().perform();</p><p>[/CODE]</p><p></p><p>In this line of code we will perform the scroll down by 100 points.</p><p>.press(300,200) // Start at 300,200</p><p>.moveTo(0,100) // Increase Y by 300, ending up at 300,100</p><p>You have to pass the coordinates based on your requirements.</p><p></p><p>Find the details in below link:</p><p></p><p><a href="https://appium.io/docs/en/writing-running-appium/touch-actions/" target="_blank">https://appium.io/docs/en/writing-running-appium/touch-actions/</a></p><p></p><p></p><p><img src="/styles/default/xenforo/smilies/default/rofl.gif" class="smilie" loading="lazy" alt=":rofl:" title="ROFL :rofl:" data-shortname=":rofl:" /><img src="/styles/default/xenforo/smilies/default/rofl.gif" class="smilie" loading="lazy" alt=":rofl:" title="ROFL :rofl:" data-shortname=":rofl:" /></p></blockquote><p></p>
[QUOTE="EMINƎM, post: 24260119, member: 368683"] In latest version of appium to scroll on the screen or to scroll the tables or to implement drag and drop functionalites we have to use TouchAction. If we want to scroll in a scrollable layout first we have to get the bounds of that layout and give the coordinates in side that bounds. Consider the below line of code. [CODE] new TouchAction(driver).press(300,200).moveTo(300,100).release().perform(); [/CODE] In this line of code we will perform the scroll down by 100 points. .press(300,200) // Start at 300,200 .moveTo(0,100) // Increase Y by 300, ending up at 300,100 You have to pass the coordinates based on your requirements. Find the details in below link: [URL="https://appium.io/docs/en/writing-running-appium/touch-actions/"]https://appium.io/docs/en/writing-running-appium/touch-actions/[/URL] :rofl::rofl: [/QUOTE]
Insert quotes…
Verification
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom