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.5 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.4 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.3 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.2 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.1.pre2 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.1.pre1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.0.pre1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.9.0 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.8.4 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.8.3 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.8.3.pre1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.8.2 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.8.1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.8.0 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.8.0.pre2 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.8.0.pre1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.7.4.pre1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.7.3 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.7.3.pre3 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.7.3.preintentstart5 lib/calabash-android/steps/enter_text_steps.rb