Sha256: 8632381e3e82b50ec8a4bd406001ce3709105be4d4095f54fb5403f9d54fccf6
Contents?: true
Size: 666 Bytes
Versions: 5
Compression:
Stored size: 666 Bytes
Contents
# rake android[android/patch] describe 'android/patch.rb' do t 'type' do # nav to textfield wait { find('app').click } wait { find('Search').click } wait { find('Invoke Search').click } wait { first_textfield.type 'ok' } wait { first_textfield.text.must_equal 'ok' } # todo: how to invoke random am start commands? # nav to start activity # io.appium.android.apis/.ApiDemos # keyboard may exist, if it doesn't then an error will raise ignore { hide_keyboard } # return to app start back wait { find('Invoke Search') } back wait { find_exact('Search') } back wait { find('app') } end end
Version data entries
5 entries across 5 versions & 1 rubygems