← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #193173]: How to fill the text field using Sikuli

 

Question #193173 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/193173

    Status: Open => Answered

Roman Podolyan proposed the following answer:
1) Read the documentation - http://sikuli.org/docx/
2) Pay attention to selecting Regions,  and to Click function (that's the way to get cursor into text field) and write code to get cursor into the needed field
3) Use special keys emulation (Del, Backspace, Ctrl-A ... whatever) to clean the field if needed (http://sikuli.org/docx/keys.html ) 
4) Use 'type' or 'paste' functions to get user information in fields.  (http://sikuli.org/docx/region.html#acting-on-a-region)
5) Again use Click to press button to create a user
6) Repeat 

Here is an example, written by me for logging to one site in browser via Facebook : 
http://i42.tinypic.com/21orpcp.png

I added some explaining comments to it.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.