Sha256: e48bf51dd87e5e3fa651a236a103bf260318c003485a6b8969b2c7b8813ed9f9

Contents?: true

Size: 994 Bytes

Versions: 159

Compression:

Stored size: 994 Bytes

Contents

Given /^I press the "([^\"]*)" button$/ do |buttonText|
  performAction('press_button_with_text', buttonText)
end

Then /^I press button number (\d+)$/ do |buttonNumber|
  performAction('press_button_number', buttonNumber) 
end

Then /^I press image button number (\d+)$/ do |buttonNumber|
  performAction('press_image_button_number', buttonNumber) 
end

Then /^I press view with id "([^\"]*)"$/ do |view_id|
  performAction('click_on_view_by_id',view_id)
end

Then /^I press "([^\"]*)"$/ do |identifier|
  performAction('press',identifier)
end

Then /^I click on screen (\d+)% from the left and (\d+)% from the top$/ do |x, y|
  performAction('click_on_screen',x, y)
end

Then /^I touch the "([^\"]*)" text$/ do |text|
  performAction('click_on_text',text)
end

Then /^I press list item number (\d+)$/ do |line_index|
  performAction('press_list_item', line_index, 0)
end

Then /^I long press list item number (\d+)$/ do |line_index|
  performAction('long_press_list_item', line_index, 0)
end

Version data entries

159 entries across 159 versions & 2 rubygems

Version Path
calabash-android-0.4.0 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre18 lib/calabash-android/steps/press_button_steps.rb
testautoa-0.4.0.pre19 lib/calabash-android/steps/press_button_steps.rb
testautoa-0.4.0.pre18 lib/calabash-android/steps/press_button_steps.rb
testautoa-0.4.0.pre16 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre17 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre16 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre15 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre11 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre10 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre9 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre8 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre7 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre6 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre5 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre4 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre3 lib/calabash-android/steps/press_button_steps.rb
testautoa-0.4.0 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre2 lib/calabash-android/steps/press_button_steps.rb
calabash-android-0.4.0.pre1 lib/calabash-android/steps/press_button_steps.rb