sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38151
Re: [Question #293980]: With will become a reserved keyword in python 2.6
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980
Shobin posted a new comment:
Thank you RaiMan, Sorry to ask such a basic question but I am trying out
the calculator example from mike's blog.
and i have the calc.sikuli folder and everything , according to the post
which you just shared .
step1: I opened Sikuli and paster this
runScript("""
robot
*** Variables ***
${USERNAME} demo
${PASSWORD} mode
${TESTSITE} http://test.sikuli.de
*** Settings ***
Library ./inline/LoginLibrary
Test Setup start firefox and goto testsite ${TESTSITE}
Test Teardown stop firefox
*** Test Cases ***
User can log in with correct user and password
Attempt to Login with Credentials ${USERNAME} ${PASSWORD}
Status Should Be Accepted
User cannot log in with invalid user or bad password
Attempt to Login with Credentials betty wrong
Status Should Be Denied
""")
class LoginLibrary(object):
def start_firefox_and_goto_testsite(self, page):
popup("start_firefox_and_goto_testsite")
def stop_firefox(self):
popup("stop_firefox")
def attempt_to_login_with_credentials(self, username, password):
popup("attempt_to_login_with_credentials")
def status_should_be(self, expected):
popup("status_should_be")
and executed , it shows error the no module name robot.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.