예제 #1
0
 def customMessage(self, messageType, text):
     if type == 'info':
         showInfoMessage(self.session, text, self.timeout)
     elif type == 'warning':
         showWarningMessage(self.session, text, self.timeout)
     elif type == 'error':
         showErrorMessage(self.session, text, self.timeout)
예제 #2
0
 def customMessage(self, messageType, text):
     if type == 'info':
         showInfoMessage(self.session, text, self.timeout)
     elif type == 'warning':
         showWarningMessage(self.session, text, self.timeout)
     elif type == 'error':
         showErrorMessage(self.session, text, self.timeout)
예제 #3
0
 def errorMessage(self, text):
     showErrorMessage(self.session, self.messageFormat % (self.__class__.errorName, text), self.timeout)
예제 #4
0
 def errorMessage(self, text):
     showErrorMessage(self.session, self.messageFormat % (self.__class__.errorName, text), self.timeout)