Sha256: 9986bcfc83cb8263bf9be5948f4c7ccfd571b2a78a157f888d1b4072cee90781

Contents?: true

Size: 989 Bytes

Versions: 6

Compression:

Stored size: 989 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("android.widget.EditText marked:'#{identifier}'}")
end

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
calabash-android-0.5.3 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.2 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.2.pre1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.1 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.0 lib/calabash-android/steps/enter_text_steps.rb
calabash-android-0.5.0.pre2 lib/calabash-android/steps/enter_text_steps.rb