New question #240570 on Sikuli:
https://answers.launchpad.net/sikuli/+question/240570

Hi, 

I'd like to know, how can I do to after each test execution, sikuli take a 
Screenshot.
For example;

actually I'm doing like this;

testOk = 0;
testNok = 0;

try:
       .
       .
       .

    monthView()
    print("Test 11 - Passed")
    testOk = testOk +1;

except:
    
    print("Test 11 Failed")
    testNok = testNok +1;   

    .
    .
    .

print ("Test OK",testOk)
print ("Test Not OK",testNok)

what command should I add to if test pass or fail, application take a 
Screenshot of page?



-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to