+54 911 66509220

Blog

Blog
16 Jun 2015

Calabash – Paso Predefinido: Waiting

/
Creado por
/
Comentarios0

Waiting

Then /^I wait for progress$/ do
Will wait until there are no more progress bars.

Then /^I wait for “([^\”]*)” to appear$/ do |text|
Then /^I wait to see “([^\”]*)”$/ do |text|
Waits for the specified text to appear.

Then /^I wait up to (\d+) seconds for “([^\”]*)” to appear$/ do |timeout, text|
Then /^I wait up to (\d+) seconds to see “([^\”]*)”$/ do |timeout, †ext|
Waits for the specified text to appear, with a custom timeout

Then /^I wait for the “([^\”]*)” button to appear$/ do |identifier|
Waits for a button marked by the specified identifier to appear.

Then /^I wait for the “([^\”]*)” screen to appear$/ do |activity_name|
Waits for a particular screen (Android Activity) to appear.

Then /^I wait for the view with id “([^\”]*)” to appear$/ do |id|
Waits for a view with the specified if to appear.

Then /^I wait up to (\d+) seconds for the “([^\”]*)” screen to appear$/ do |timeout, activity_name|
Then /^I wait upto (\d+) seconds for the “([^\”]*)” screen to appear$/ do |timeout, activity_name|
Waits for a particular screen (Android Activity) to appear with a timeout.

Then /^I wait for 1 second$/
Then /^I wait for a second$/
Waits for one second.

Then /^I wait$/
Waits for two seconds.

Then /^I wait for (\d+) seconds$/ do |seconds|
Waits for a specified number of seconds.

Fuente: github.com/calabash

 

Leave a Reply

Your email address will not be published.

* Copy This Password *

* Type Or Paste Password Here *

24,107 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.