from org.sikuli.script import Debug
LIQUID = Remote("0000003458763848")
while 1:
LIQUID.key( 1521,0,3)
LIQUID.key( 0,1,3)
click(Pattern(
).similar(0.68))
# click input box
LIQUID.pointer( 1279,10,10,0,335,755,-1)
LIQUID.pointer( 69,10,10,1,335,755,-1)
LIQUID.pointer( 3044,10,10,0,174,257,-1)
LIQUID.pointer( 93,10,10,1,174,257,-1)
# type yahoo
LIQUID.key( 3137,0,53)
LIQUID.key( 71,1,53)
LIQUID.key( 769,0,29)
LIQUID.key( 108,1,29)
LIQUID.key( 284,0,36)
LIQUID.key( 72,1,36)
LIQUID.key( 156,0,43)
LIQUID.key( 73,1,43)
LIQUID.key( 50,0,43)
LIQUID.key( 70,1,43)
LIQUID.key( 1173,0,66)
LIQUID.key( 70,1,66)
exists(
, 10)
wait(4)
click(Pattern(
).similar(0.48))
if exists(Pattern(
).similar(0.57),10):
Debug.history("Web Test: Yahoo page Exists!")
else:
Debug.history("Web Test: Yahoo page not Exists")
LIQUID.key(1627,0,82)
LIQUID.key( 0,1,82)
exists(
)
click(Pattern(
).similar(0.60))