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.5.13.pre1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.12 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.12.pre1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.11 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.10 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.10.pre2 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.10.pre1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.9 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.9.pre2.intenthook1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.9.pre2 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.9.pre1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.8 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.8.pre1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.7 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.6 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.6.pre4 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.6.pre3 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.6.pre2 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.6.pre1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.5 lib/calabash-android/steps/enter_text_steps.rb