How click on standart android button in autotest using Ruby, Appium? -
help please.
i use:win 7, ruby 2.0.0, appium 1.3.7.0
i test android app.
in test suite, in steps define:
appium.back
i try tap on hardware(native) button e.g. back, home.
but if run test, appears next error :
nomethoderror: undefined method 'back' appium:module
ansver question
in env.rb write
$capy_driver = capybara.current_session.driver
and use in steps
$capy_driver.go_back
or
$capy_driver.appium_driver.press_keycode 4
Comments
Post a Comment