← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #246863]: A strange behaviour?

 

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

    Status: Needs information => Open

Garima Kumar gave more information on the question:
Hello RaiMan,
Sorry for late responce for the information.
i have been using Sikuli 1.0.1 version.
and here is the code i have been using

"
import org.sikuli.script.FindFailed as FindFailed
import os
import sys
import traceback
import logFileGeneration
moduleName = "Module Name :" + str(sys.argv[0]) + "\n"
#Settings.Highlight = True
setBundlePath("E:\Garima\ImageRepository")
def step2():
    logFileGeneration.LogFile(0, "Step2 started.")
    try:
        if exists("patients\symbiaBoneTomoCT.png"):
            print "Patient Symbia Bone Tomo CT is available."
        wait(1)
        if exists("workflows\symbiaWFT.png"):
            print "WorkFlow Template SymbiaWFT is available in Server."  
        click("ListSeriesButton.png")
        wait(5)
        if exists("patients\boneSPECT_CTSeries.png"):
            print "Bone SPECT-CT Series is available."
        if exists("patients\ac_CTBoneSeries.png"):
            print "AC CT SPECT-CT Series is available."
    except:
        print "failed"
        excType = sys.exc_info()[:1]
        var = traceback.format_exc()
        methodName = "Method Name :step2 \n"
        message = str(moduleName) + str(methodName) + str(excType) + "\n" + str(var)
        print message
        logFileGeneration.LogFile(2, message)             
                
step2()  
"
Regards
Garima

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