示例#1
0
 def reporthistory_result(self):
     ReportManagementModule.reporthistory(self)
     self.implicitly_wait(10)
     # time.sleep(10)
     reporthistory_message = self.find_element(By.CSS_SELECTOR,
                                               '.search>table>tbody>tr:nth-child(2)>td').get_attribute("value")
     return reporthistory_message
示例#2
0
 def etoolsextype_result(self):
     ReportManagementModule.etoolsextype(self)
     self.implicitly_wait(10)
     etoolsextype_message = self.find_element(By.CSS_SELECTOR,
                                              "#adgrdDetail>tbody>tr:nth-child(3)>td:nth-child(1)").get_attribute("value")
     return etoolsextype_message
示例#3
0
 def etoolgroup_result(self):
     ReportManagementModule.eToolgroup(self)
     self.implicitly_wait(10)
     etoolgroup_message = self.find_element(By.CSS_SELECTOR, '#lstAvailable>option').get_attribute("value")
     return etoolgroup_message
示例#4
0
 def systemfield_result(self):
     ReportManagementModule.systemfield(self)
     self.implicitly_wait(10)
     systemfield_message = self.find_element(By.CSS_SELECTOR,"#gv>tbody>tr>th:nth-child(5)>a").get_attribute("value")
     return systemfield_message
示例#5
0
 def reportparament_result(self):
     ReportManagementModule.reportparameter(self)
     self.implicitly_wait(10)
     reportparameter_message = self.find_element(By.CSS_SELECTOR, '.list_1>th:nth-child(3)>a').get_attribute("value")
     return reportparameter_message
示例#6
0
 def sentemail_result(self):
     ReportManagementModule.send_report(self)
     self.implicitly_wait(10)
     sentemail_message = self.find_element(By.CSS_SELECTOR, ".list_1>th>a").get_attribute("value")
     return sentemail_message
示例#7
0
 def codemanager_result(self):
     ReportManagementModule.codemanager(self)
     self.implicitly_wait(10)
     codemanager_message = self.find_element(By.CSS_SELECTOR,
                                             "#dgrdCode>tbody>tr:nth-child(11)>td:nth-child(3)").get_attribute("value")
     return codemanager_message
示例#8
0
 def ftp_management_result(self):
     ReportManagementModule.ftp_management(self)
     self.implicitly_wait(10)
     ftp_management_message = self.find_element(By.CSS_SELECTOR,
                                                ".list_1>th:nth-child(6)>a").get_attribute("value")
     return ftp_management_message
示例#9
0
 def email_template_result(self):
     ReportManagementModule.email_template(self)
     self.implicitly_wait(20)
     email_template_message = self.find_element(By.ID, "btCancel").get_attribute("value")
     return email_template_message
示例#10
0
 def htsidataextract_result(self):
     ReportManagementModule.htsidataextract(self)
     self.implicitly_wait(10)
     htsidataextract_message = self.find_element(By.CSS_SELECTOR,
                                                 "#UpdatePanel1>table>tbody>tr:nth-child(2)>td>table>tbody>tr:nth-child(8)>td:nth-child(2)>span>b").get_attribute("value")
     return htsidataextract_message
示例#11
0
 def reportsecurity_result(self):
     ReportManagementModule.reporthistory(self)
     self.implicitly_wait(10)
     reportsecurity_message = self.find_element(By.CSS_SELECTOR, ".list_1>th:nth-child(3)").get_attribute("value")
     return reportsecurity_message
示例#12
0
 def poultryexcelreport_result(self):
     ReportManagementModule.poultryexcelreport(self)
     self.implicitly_wait(10)
     poultryexcelreport_message = self.find_element(By.CSS_SELECTOR, "#AjaxPanelShowData>span>input").get_attribute("value")
     return poultryexcelreport_message
示例#13
0
 def htsidataqualityreport_result(self):
     ReportManagementModule.htsidataqualityreport(self)
     self.implicitly_wait(10)
     htsidataqualityreport_message = self.find_element(By.CSS_SELECTOR, ".list_1>th:nth-child(4)").get_attribute("value")
     return htsidataqualityreport_message
示例#14
0
 def fieldmapping_result(self):
     ReportManagementModule.fieldmapping(self)
     self.implicitly_wait(10)
     fieldmapping_message = self.find_element(By.CSS_SELECTOR, ".bodylgb>th:nth-child(1)").get_attribute("value")
     return fieldmapping_message
示例#15
0
 def etoolsecurity_result(self):
     ReportManagementModule.etoolsecurity(self)
     self.implicitly_wait(10)
     etoolsecurity_message = self.find_element(By.CSS_SELECTOR,
                                               "#gvEToolSecurity_ctl13_lblEToolType").get_attribute("value")
     return etoolsecurity_message
示例#16
0
 def reports_result(self):
     ReportManagementModule.reports(self)
     self.implicitly_wait(10)
     reports_message = self.find_element(By.CSS_SELECTOR, ".a9").get_attribute("value")
     return reports_message
示例#17
0
 def etoolwebaccess_result(self):
     ReportManagementModule.etoolsecurity(self)
     self.implicitly_wait(10)
     etoolwebaccess_message = self.find_element(By.ID, "gvPermissionList_ctl02_lblModule").get_attribute("value")
     return etoolwebaccess_message
示例#18
0
 def report_result(self):
     ReportManagementModule.report(self)
     self.implicitly_wait(10)
     time.sleep(20)
     report_message = self.find_element(By.ID, "gvReport_ctl02_lblReportName").get_attribute("value")
     return report_message
示例#19
0
 def lotmatchinghistory_result(self):
     ReportManagementModule.lotmatchinghistory(self)
     self.implicitly_wait(10)
     lotmatchinghistory_message = self.find_element(By.CSS_SELECTOR,
                                                    "#dgrdLotMatching>tbody>tr:nth-child(3)>td:nth-child(2)").get_attribute("value")
     return lotmatchinghistory_message
示例#20
0
 def ddas_result(self):
     ReportManagementModule.ddasreportnotification(self)
     self.implicitly_wait(10)
     ddas_message = self.find_element(By.CSS_SELECTOR, "#apUpdate>table>tbody>tr>td>span").get_attribute("value")
     return ddas_message
示例#21
0
 def sub_setUp(self):
     #self.Account_Management_page = AccountManagementModule(browser_type='chrome').get(self.URL, maximize_window=False)
     self.page = Page(browser_type= 'Chrome').get(self.CIMSURL, maximize_window=False)
     self.Report_Management_page = ReportManagementModule(browser_type='Chrome').get(self.CIMSURL, maximize_window=False)
示例#22
0
 def send_report_result_links(self):
     ReportManagementModule.send_report(self)
     send_report_message = self.find_element(By.ID, "btnRemove").get_attribute("value")
     return send_report_message