sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #51479
Re: [Question #680320]: SikuliXIDE; Mojave; Robot Framework: TypeError: unsupported operand type(s) for -: 'unicode' and 'int'
Question #680320 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680320
Status: Open => Answered
RaiMan proposed the following answer:
apparently loopvalue is a string, when handed over to the
GA4::grid_movement.
so this should help:
def grid_movement(self, direction, cells = 1):
print "Executing 'grid_movement' function"
movdirection = int(direction)
loopvalue = int(cells)
while(loopvalue > 0):
...
usage with one-cell movement:
grid movement ${movedown}
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.