Inconsistency with type?

Asked by tester on 2017-06-30

I am currently using Sikuli to type on an iOS simulator. For example, one of the commands is typing a url. Sometimes Sikuli fails the type the correct form of the url, usually missing the first letter. Is there any way around this? What are best practices for ensuring that Sikuli types the inputs correctly each time?

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2017-07-05
Last reply:
2017-07-05
masuo (masuo-ohara) said : #1

Use paste() instead of type().

tester (santaclaus) said : #2

I can't copy and paste onto the screen - I am using a VNC server to remote control an iOS device.

masuo (masuo-ohara) said : #3

click url text box and then type url strings?
it may be necessary wait time between click() and type().

click("image1.png")
sleep(3)
type("http://www.sikuli.org/")

Can you help with this problem?

Provide an answer of your own, or ask tester for more information if necessary.

To post a message you must log in.