It opens the update-manager application and raises an error if the application didn't start properly.
00100 : """ It opens the update-manager application and raises an error if the application didn't start properly. """ if dist_upgrade: ldtp.launchapp(self.LAUNCHER, ['-d'], 0) response = ldtp.waittillguiexist(self.name, '', 20) if response == 0: raise ldtp.LdtpExecutionError, "The " + self.name + " window was not found." else: Application.open(self) # Wait the population of the list updateManager = ooldtp.context(self.name) populating = True try: while populating: populating = False self.remap() label = updateManager.getchild(role = 'label') for i in label: label_name = i.getName() if label_name == self.LBL_WAIT: populating = True except ldtp.LdtpExecutionError: raise ldtp.LdtpExecutionError, "The Update Manager description label was not found." def close(self):