← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #151018]: how to capture events when executing test

 

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

    Status: Open => Needs information

RaiMan requested for more information:
windows, Mac, Linux?

which device/ which emulator?

general approach:

openApp("path to your emulator")
click("capture of browser symbol on home screen")
wait(3) # sufficient to give browser time to start up
paste("gmail.com") # supposing addressfield is selected and ready for input
type(Key.ENTER)
wait("capture of login dialog", 10)
paste("username") # supposing username field is focused
type(Key.TAB) # supposing one TAB selects password field
paste("wrong password")

now it depends what you mean with: Capture error message

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