return from keyboard

29 views
Skip to first unread message

Raheel Mateen

unread,
May 23, 2014, 8:22:36 AM5/23/14
to zucchini...@googlegroups.com

is this possible to tap the keyboard return key from zuchini ????????

Tony Mann

unread,
May 25, 2014, 8:46:44 AM5/25/14
to zucchini...@googlegroups.com
Just type a “\n”. It works!

Tony

On May 23, 2014, at 5:22 AM, Raheel Mateen <raheel...@riksof.com> wrote:


is this possible to tap the keyboard return key from zuchini ????????

--
You received this message because you are subscribed to the Google Groups "Zucchini Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zucchini-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raheel Mateen

unread,
May 26, 2014, 1:37:43 AM5/26/14
to zucchini...@googlegroups.com

thats my script :
Then on the "PlayerFirstDetail" screen:
  Type "Micheal\n" in the "FirstName" field
  Type "Clarke" in the "SecondName" field

i just want to do to type the return ki after Micheal is written in firstname textfield

many thanks

Tony Mann

unread,
May 26, 2014, 1:24:40 PM5/26/14
to zucchini...@googlegroups.com
Try

app.keyboard().buttons()[“RETURN”]

Raheel Mateen

unread,
May 29, 2014, 2:35:18 AM5/29/14
to zucchini...@googlegroups.com
in the zuchini script i write


app.keyboard().buttons()[“RETURN”]

Tony Mann

unread,
May 29, 2014, 2:01:00 PM5/29/14
to zucchini...@googlegroups.com
Yes. Did that work?

Tony

Raheel Mateen

unread,
May 30, 2014, 1:37:16 AM5/30/14
to zucchini...@googlegroups.com
No this is not work

On Friday, May 23, 2014 5:22:36 PM UTC+5, Raheel Mateen wrote:

Anthony Mann

unread,
May 30, 2014, 4:31:14 AM5/30/14
to zucchini...@googlegroups.com
Then the keyboard is not showing when this call is made, or the return key is not present or is disabled. 

..tony..
--

Raheel Mateen

unread,
May 30, 2014, 10:56:48 AM5/30/14
to zucchini...@googlegroups.com
Tony thank u i did this by using that:

extend @actions,
    'Done':  ->
     field = view.textFields()[0]
     field.setValue "hello"
     app.keyboard().buttons()["Done"].tap()


On Friday, May 23, 2014 5:22:36 PM UTC+5, Raheel Mateen wrote:

Tony Mann

unread,
May 30, 2014, 11:42:40 AM5/30/14
to zucchini...@googlegroups.com
Calling setValue will not show the keyboard. You need to use typeString method.

Tony

Reply all
Reply to author
Forward
0 new messages