title: I am using appium for automation testing
body: <p>How to move seekbar in IOS
  I am using Appium for Automation testing<a href="http://i.stack.imgur.com/9V8X3.png" rel="nofollow">enter image description here</a></p>
  
  <p>I have red marked for that WebElement in above image
  I am taking Xpath for that Webelement
  I am using below Function </p>
  
  <pre><code>WebElement sliderMove = MobileUtils.getMobElement(fieldObjects, testCase, "sleepBrightnessSliderBar");
  int xAxisStartPoint = sliderMove.getLocation().getX();
  int xAxisEndPoint = xAxisStartPoint + sliderMove.getSize().getWidth();
  int yAxis = sliderMove.getLocation().getY();
  
  TouchAction act = new TouchAction(testCase.getDriver());
  TouchAction sliderChk = act.longPress(xAxisStartPoint,yAxis).moveTo(xAxisEndPoint-1,yAxis).release().perform();
  </code></pre>
  
  <p>the value of <strong>sliderChk</strong> is not coming null but its not moving that slider to any position
  the value of
   xAxisStartPoint =68  xAxisEndPoint =307  yAxis =  160
  seekbar can be moved by 10% only
  there is five slots i.e 0% 10% 20% 30% 40% 50%
  if current value is 10% then i have to move by 10% only i.e to 20% 
  how to control seekbar to particular position, if it is moving</p>