← Back to team overview

sikuli-driver team mailing list archive

[Question #279271]: When tests are run using xmlrunner the cursor moves to the end of the screen

 

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

When the test case is run it clicks the first image given and after that i have a wait and print to see whether sikuli has gotten there and after that i continue with the click on other images but for some reason the cursor moves to the left top edge of the screen.

def openMaintenance():
    click(Pattern("1449589339439.png").similar(0.90).targetOffset(-29,-2)) #this is where the code breaks
    print("test 1")
    wait (4)
    print("test line 2")    
    click(Pattern("1449666684677.png").targetOffset(131,35))

I would appreciate any help or suggestions on this matter, thank you in advance.

Sikuli version is 1.0.1.

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