← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #151161]: Why no error mesages?

 

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

    Status: Needs information => Open

Linus Holmeros gave more information on the question:
def CheckAlertsAfter():
	# Global variables
	global AlertsBefore
	switchApp("SSC MSS 6000") # switch to MSS 6000
	click(imagePath+"PropAlerts.png") # find Alert tab
	AlertsAfter = capture(1792,113,245,320) # GÖR OM TILL ATT HITTA ALERTS-REGIONEN
	if AlertsBefore == AlertsAfter:
		print "same"
		break
	else:
		print "diff"	
		break

Error point at first break

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