sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #22679
[Question #240570]: Screenshot after test execution
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.