← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #165444]: Need help in this sikuli loggin problem

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Sikuli talks Python language. There are some typos (guess reading from
video ;-) in the script.


email = input("E-Mail Addresse") #*
pwd = input ("Passwort") #*

doubleClick ("Fnm.png") #comment
wait(5) #*
paste("I1.png","facebook.com")
type(Key.ENTER)
wait(5) #*
paste("1311158117093.png",email) #*
paste("orgotyourpas.png",pwd) #*
click("1311158249625.png")

The lines ending with #* are changed.

After firing the url "facebook.com" I have added another wait(), that
might have to be adjusted according to how long it takes for the page to
come up and show the login fields.

-- #comment
strings like "Fnm.png"
represent the image filenames of the images you have captured and see as thumbnails in the Sikuli IDE.
The image files are stored in the folder of your script (loggin.sikuli in your case). In the IDE thumbnails and filenames as "image.png" are equivalent. If you open a saved script, images that can be located through its filename are always shown as thumbnails.

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