Need help in this sikuli loggin problem

Asked by aaysh

Hiii
i saw this tut on youtube but i am unable to remove errors from this coding
i am new in sikuli this program automatic loggin in firefox and opens your facebook account

Here is the coding i have done
http://www.mediafire.com/?v3hzhh5n9v5388w

Here is the youtube video
http://www.youtube.com/watch?v=udJq1P1M7UI

please solve this error for me i am new and does not know much
i will be vuery Thankfull

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

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.

Can you help with this problem?

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

To post a message you must log in.