← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #230734]: How to capture the reading and deliver it in a report?

 

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

    Status: Answered => Open

Amutha Sreenivasan is still having a problem:
Hi Raiman,

 Thanks for the reply. Tried to run from Command line . Getting
following error.

C:\>java -jar C:\Documents and Settings\asreeniv\My Documents\Downloads\Sikuli-I
DE-1.0.0-Win32\sikuli-script.jar  H:\sikuli\maintest.sikuli
Unable to access jarfile C:\Documents


Main script is

from xmlrunner import*
import unittest
import sample
reload (sample)
Settings.DelayAfterClick = 1
setAutoWaitTimeout(100.0)
for i in range(0,25):
    suite = unittest.TestLoader().loadTestsFromTestCase(sample.UnitTestA) 
    result = XMLTestRunner(file("performance_25.xml", "a")).run(suite) 
    

is the script correct? is there any other command to close the file?

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