Sha256: 8710ad045ca2567b5daafcad641426e1a0080a3af6983c21e9915e78c9ace081
Contents?: true
Size: 1.18 KB
Versions: 90
Compression:
Stored size: 1.18 KB
Contents
Given /^I press the "([^\"]*)" button$/ do |text| tap_when_element_exists("android.widget.Button {text CONTAINS[c] '#{text}'}") end Then /^I press button number (\d+)$/ do |index| tap_when_element_exists("android.widget.Button index:#{index.to_i-1}") end Then /^I press image button number (\d+)$/ do |index| tap_when_element_exists("android.widget.ImageButton index:#{index.to_i-1}") end Then /^I press view with id "([^\"]*)"$/ do |id| tap_when_element_exists("* id:'#{id}'") end Then /^I press "([^\"]*)"$/ do |identifier| tap_when_element_exists("* marked:'#{identifier}'") end Then /^I click on screen (\d+)% from the left and (\d+)% from the top$/ do |x, y| perform_action('click_on_screen', x, y) end Then /^I touch the "([^\"]*)" text$/ do |text| tap_when_element_exists("* {text CONTAINS[c] '#{text}'}") end Then /^I press list item number (\d+)$/ do |index| step_deprecated tap_when_element_exists("android.widget.ListView index:0 android.widget.TextView index:#{index.to_i-1}") end Then /^I long press list item number (\d+)$/ do |index| step_deprecated long_press_when_element_exists("android.widget.ListView index:0 android.widget.TextView index:#{index.to_i-1}") end
Version data entries
90 entries across 90 versions & 1 rubygems