Closed renas closed 9 years ago
From renasr...@gmail.com on April 15, 2014 01:02:10
I'm not sure why your experiencing this issue. Robotium sets the progress directly by using the API setProgress() found here: http://developer.android.com/reference/android/widget/ProgressBar.html#setProgress(int)
Status: Invalid
Owner: renasr...@gmail.com
From kday...@gmail.com on April 15, 2014 08:16:34
Thanks renas. The drag command works great but im dealing with different size screen so I will just create a class that has the different size screen and once the the device is sensed, pick the right coordinate.
From kday...@gmail.com on April 01, 2014 12:19:28
Im trying to control the seekbar using robotium. but not having any luck. I can control it using the drag function but the problem is that i have to change the x,y coordinate for each phone.
Here is the Main code that I'm using.
@Override public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { // update current location as seek bar is dragged. if (bIsSeeking) mTxtCurrent.setText(DateUtils.formatElapsedTime(progress / 1000)); }
And on the robotium side, this is what im calling
SeekBar seek = (SeekBar) solo.getView(com.securemedia.SMHLSVOD.R.id.seekVideo); NativePlayerFragment Missile = new NativePlayerFragment();
any idea of what I'm doing wrong ?
Original issue: http://code.google.com/p/robotium/issues/detail?id=595