Sha256: 7695e5bc3f676f8b7fac3fa7177c3811752334495a9b99091e9935347966775a

Contents?: true

Size: 998 Bytes

Versions: 84

Compression:

Stored size: 998 Bytes

Contents

Then /^I enter "([^\"]*)" as "([^\"]*)"$/ do |text, content_description|
  enter_text("android.widget.EditText {contentDescription LIKE[c] '#{content_description}'}", text)
end

Then /^I enter "([^\"]*)" into "([^\"]*)"$/ do |text, content_description|
  enter_text("android.widget.EditText {contentDescription LIKE[c] '#{content_description}'}", text)
end

Then /^I enter "([^\"]*)" into input field number (\d+)$/ do |text, index|
  enter_text("android.widget.EditText index:#{index.to_i-1}", text)
end

Then /^I enter text "([^\"]*)" into field with id "([^\"]*)"$/ do |text, id|
  enter_text("android.widget.EditText id:'#{id}'", text)
end

Then /^I clear "([^\"]*)"$/ do |identifier|
  clear_text_in("android.widget.EditText marked:'#{identifier}'}")
end

Then /^I clear input field number (\d+)$/ do |index|
  clear_text_in("android.widget.EditText index:#{index.to_i-1}")
end

Then /^I clear input field with id "([^\"]*)"$/ do |id|
  clear_text_in("android.widget.EditText id:'#{id}'")
end

Version data entries

84 entries across 84 versions & 1 rubygems

Version Path
calabash-android-0.9.30 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.29 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.28 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.25 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.24 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.22 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.21 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.20 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.19 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.18 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.17 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.16 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.14 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.12 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.11 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.10 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.9 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.8 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.7 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.6 lib/calabash-android/steps/enter_text_steps.rb