← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #406805]: Script fail without proper message

 

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

    Status: Needs information => Open

sohail gave more information on the question:

def assignfunction():
    for n in range (35):
        type(Key.TAB)
    type(Key.LEFT)
    type(Key.ENTER)
    wait(3)
    for n in range(27):
        type(Key.TAB)
    type(Key.ENTER)
    wait(3)
def assigndata():
    doubleClick(Pattern("1480419928033.png").exact().targetOffset(-6,0))
    wait(2)
    for n in range(6):
        type(Key.TAB)
    type(Key.ENTER)
try:
    assignfunction()
    assigndata()
except:
    defaultExceptionHandling()


Actually test passes several times but some time fail after executing first function .( Key.Enter) .  But on local machine its always passes
   
Below is error message on teamcity log 
[log]  TYPE "#TAB."
[log]  TYPE "#TAB."
[log]  TYPE "#TAB."
[log]  TYPE "#ENTER."
[error] script [ C:\BuildAgent\work\ef621962d08f8ac\SikuliSource\WinForm.Behaviour\permission_smoke.sikuli ] stopped with error in line 12

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.