Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error “IndexOutOfBoundsError” occured after the robot taps the element. #7

Open
testerchao opened this issue Feb 2, 2016 · 0 comments

Comments

@testerchao
Copy link

I'm getting an error when run ruby scripts using appium with enable robot settings. I have calibrated the device and am passing the calibration script. I'm using the ruby scripts and Appium 1.4.16 and selenium-webdriver 2.50.0. The appium inspector drives the robot well. But when I run the scripts it throws the error below:

/Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.50.0/lib/selenium/webdriver/remote/response.rb:70:in assert_ok': undefined status object (Selenium::WebDriver::Error::IndexOutOfBoundsError) from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.50.0/lib/selenium/webdriver/remote/response.rb:34:ininitialize'
from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.50.0/lib/selenium/webdriver/remote/http/common.rb:78:in new' from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.50.0/lib/selenium/webdriver/remote/http/common.rb:78:increate_response'
from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.50.0/lib/selenium/webdriver/remote/http/default.rb:90:in request' from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.50.0/lib/selenium/webdriver/remote/http/common.rb:59:incall'
from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.50.0/lib/selenium/webdriver/remote/bridge.rb:645:in raw_execute' from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.50.0/lib/selenium/webdriver/remote/bridge.rb:623:inexecute'
from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.50.0/lib/selenium/webdriver/remote/bridge.rb:385:in clickElement' from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.50.0/lib/selenium/webdriver/common/element.rb:73:inclick'
from CodeMakerTest.rb:17:in `

'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant