# Seek bar - slider is not moving to 100 instead it moved close to 90

**URL:** <https://forum.katalon.com/t/seek-bar-slider-is-not-moving-to-100-instead-it-moved-close-to-90/6588>\
**Category:** Miscellaneous\
**Created:** [September 10, 2017, 8:33pm UTC](https://forum.katalon.com/t/seek-bar-slider-is-not-moving-to-100-instead-it-moved-close-to-90/6588 "2017-09-10T20:33:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yashwant\_Das](https://avatars.discourse-cdn.com/v4/letter/y/da6949/32.png) [@Yashwant\_Das](https://forum.katalon.com/u/Yashwant_Das)\
**Post date:** [September 10, 2017, 8:33pm UTC](https://forum.katalon.com/t/seek-bar-slider-is-not-moving-to-100-instead-it-moved-close-to-90/6588/1 "2017-09-10T20:33:00Z")

</div>

Katalon Studio  
Version: 4.8.0  
Build: 2  
platformName : Android  
platformVersion: 6.0.1  
deviceName: Moto G Play

I was trying to automate a video player and I was unable to move the slider to the end of the seekbar instead the slider had moved close to ~90% of the seekbar.

I have attached the code below.  
‘Play the movie’  
Mobile.tap(findTestObject(‘android.widget.ImageView1’), 0)

```
'Let the movie play'
Mobile.delay(10, FailureHandling.STOP_ON_FAILURE)

'Tap on the videoplayer'
Mobile.tap(findTestObject('android.widget.FrameLayout4'), 0)

'Pause the playback'
Mobile.tapAtPosition(360, 360, FailureHandling.STOP_ON_FAILURE)

'Wait some time'
Mobile.delay(10, FailureHandling.STOP_ON_FAILURE)

'Check if seekbar is visible'
Mobile.checkElement(findTestObject('android.widget.SeekBar0'), 10)

'Seek to the last'
Mobile.setSliderValue(findTestObject('android.widget.SeekBar0'), 100, 10)

'Wait some time'
Mobile.delay(5, FailureHandling.STOP_ON_FAILURE)
I tired to to move the seek bar using the below method. 

```

Can somebody please help me. I would like to move the slider to the end of the playback.  
Thank you.  
-Yashwant Das

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:08am UTC](https://forum.katalon.com/t/seek-bar-slider-is-not-moving-to-100-instead-it-moved-close-to-90/6588/2 "2022-08-08T07:08:28Z")

</div>

Archived on August 8, 2022, 7:08am UTC


