+54 911 66509220

Noticias

Noticias
29 Jun 2015

Calabash – Paso Predefinido: Internationalization

/
Creado por
/
Comentarios0

Internationalization

Then /^I press text of translated l10key (\d+)$/
Simulates that the user pressed the text of the l10nkey.

Then /^I press button of translated l10key (\d+)$/
Simulates that the user pressed the button with the label text of the l10nkey.

Then /^I press menu item of translated l10key (\d+)$/
Simulates that the user pressed the menu item with the label text of the l10nkey.

Then /^I press toggle button of translated l10key (\d+)$/
Simulates that the user pressed the toggle button with the label text of the l10nkey.

Then /^I wait for the translated “([^\”]*)” l10nkey to appear$/
Waits until the text of the translated l10nkey is displayed.

Note: you can assert or press interface elements using Android’s String resources by passing a package in a custom step:

perform_action(‘press_l10n_element’, ‘ok’, nil, ‘android’)

Fuente: github.com/calabash

 

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

*

* Copy This Password *

* Type Or Paste Password Here *

12.184 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>