How to Clear Text Field Automatically.

Asked by Santhosh Motamarry

Hi Raiman,

In an application Iphone Simulator while i am giving input for email or password, the field is fulled or it is already filled with previous persons data how can i clear that automatically.

Eg: i have open my appliation in Iphone Simulator.

in that i need to clear the text(email/password fields) which is already filled.how can i do that in sikuli.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Generally, you have to simulate with Sikuli, what you are doing manually (sikuli does not have any features to talk with an application directly or access GUI elements like Selenium).

something like:
click("the-GUI-text-field.png")
type("a", KeyModifier.CTRL) # select all text
type(Key.BACKSPACE) # delete selection

normally does the job.

Can you help with this problem?

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

To post a message you must log in.