← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #203274]: Some script is not getting executed when using HTMLTestRunner.

 

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

    Status: Open => Needs information

RaiMan requested more information:
--- general comment:
tests in unit test environment should always be terminated with an assert, since these assertion exceptions are catches by the test runner, to produce the testing statistics.

your case:

instead of:

       wait("Home-1.png")
        print("pass")

use:

    assert exists("Home-1.png", 10) # add sufficient waiting time

--- whatever i am writing below click("1342006035181.png") statement in testA function is not getting executed 
- the whole function does not execute?
- or it does not execute past the click statement?

-- whatever i am writing
what happens if
print("I am after the click")
is the only statement after the click?

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