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

    Status: Open => Answered

RaiMan proposed the following answer:
--- i m always getting same error
It is a FindFailed error, saying, that sikuli cannot find the image 
"EmailID.png" on the screen (timing problem?)

--- your script looks strange
... since the block between the last statement of the class definition
           sleep(5)
and 
def testrun(self):

has no indentation, so it belongs to the main script and is run before the last 
code block
suite=unittest.TestLoader().LoadTestsFromTestCase(TestA)
outfile=open("c:\testreport.html","wb")
runner=HTMLTestRunner.HTMLTestRunner(stream=outfile,title='test 
report',description='demo')
runner.run(suite)
outfile.close()

which only executes the setUp() in TestA and then prints ABC.

So I guess, the above mentioned block of code should be a def testXXX,
that should be run by the test runner after the setup() (since this
opens your application).

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to