+54 911 66509220

Blog

Blog
16 Jun 2015

Calabash – Paso Predefinido: Touching

/
Creado por
/
Comentarios0

Touching

Given /^I press the “([^\”]*)” button$/ do |text|
Taps the button containing the specified text.

Then /^I press button number (\d+)$/ do |index|
Taps the button with the specified index.

Then /^I press image button number (\d+)$/ do |index|
Taps the image button with the specified index.

Then /^I press view with id “([^\”]*)”$/ do |id|
Taps the view with the give id.

Then /^I press “([^\”]*)”$/ do |identifier|
Taps the view marked by the specified identifier.

Then /^I touch the “([^\”]*)” text$/ do |text|
Taps the specified text.

Then /^I press list item number (\d+)$/ do |index|
This predefined step is deprecated

Taps the list item with the specified index in the first visible list.

Then /^I long press list item number (\d+)$/ do |index|
This predefined step is deprecated

Long presses the list item with the specified index in the first visible list.

Then /^I click on screen (\d+)% from the left and (\d+)% from the top$/ do |x, y|
Taps the screen at the specified location.

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.