def runTestSuits(self): print("In procedure to run for selected test suits") print(self.testSuitSelection) print(self.commandID) logFilePath = self.ids.id_logpath_DPDS.text if logFilePath == "": logFilePath = UTIL.fetchLogFilePath() if self.mapDriveAt != '': logFilePath = self.folderName print(logFilePath) conn.fetchArgumentsForSelectCommands([self.commandID]) conn.retreiveValuesForArguments() conn.createScriptsForTestSuit(self.commandID,self.testSuitSelection,logFilePath,self.dictTestSuit)
def runCommandSuits(self): logFilePath = self.ids.id_logpath_DPDS.text if logFilePath == "": logFilePath = UTIL.fetchLogFilePath() if self.mapDriveAt != '': logFilePath = self.folderName print(logFilePath) conn.fetchArgumentsForSelectCommands(self.comSelect) conn.retreiveValuesForArguments() conn.createScripts(logFilePath,self.comSelect) if self.runScript == 'Y': dictOfStatus = conn.runScripts() createPopupDetails = UTIL.createPopupWidget2(sm,dictOfStatus,self.size) createPopupDetails.open() for children in self.ids.grid_id_commands_DPDS.children: if children.id in self.buttonIDList: children.background_color = (.5,.2,.2,1) del self.comSelect[:] del self.buttonIDList[:]