예제 #1
0
 def test1UnconditionalRetrieval(self):
     #报告中的用例描述
     self._testMethodDoc = "无条件检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test1(driver)
     # 验证arg1 != arg2, 相等则fail
     self.assertNotEqual('No data available', sucess_text)
예제 #2
0
 def test13CurrencyRetrieval(self):
     # 报告中的用例描述
     self._testMethodDoc = "通货检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test13(driver)
     # self.assertIn(a,b) 判断a in b是否成立,正确则True,否则为False
     logs.info_log(self.assertIn('FCA', sucess_text))
예제 #3
0
 def test7AccumulatedOutboundSearch(self):
     # 报告中的用例描述
     self._testMethodDoc = "积出港检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test7(driver)
     logs.info_log("实际运行结果为:" + sucess_text)
     # self.assertIn(a,b) 判断a in b是否成立,正确则True,否则为False
     logs.info_log(self.assertIn('SHA - SHANGHAI', sucess_text))
예제 #4
0
 def test5retrieval(self):
     # 报告中的用例描述
     self._testMethodDoc = "P/O NO检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test5(driver)
     logs.info_log("实际运行结果为:" + sucess_text)
     # 验证arg1 != arg2, 相等则fail
     logs.info_log(self.assertNotEqual('No data available', sucess_text))
예제 #5
0
 def test4IVNOInvalidRetrieval(self):
     # 报告中的用例描述
     self._testMethodDoc = "I/V NO无效检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test4(driver)
     logs.info_log("实际运行结果为:" + sucess_text)
     # 验证arg1=arg2,不等则fail
     logs.info_log(self.assertEqual('No data available', sucess_text))
예제 #6
0
 def test2IVNote(self):
     #报告中的用例描述
     self._testMethodDoc = "I/V NO检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test2(driver)
     logs.info_log("实际运行结果为:" + sucess_text)
     # self.assertIn(a,b) 判断a in b是否成立,正确则True,否则为False
     logs.info_log(self.assertIn('5024040', sucess_text))
예제 #7
0
 def test18TimeMultiConditionalQuery(self):
     # 报告中的用例描述
     self._testMethodDoc = "时间多条件查询"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test18(driver)
     logs.info_log("实际运行结果为:" + sucess_text)
     # 验证arg1 != arg2, 相等则fail
     logs.info_log(self.assertNotEqual('No data available', sucess_text))
예제 #8
0
 def test17MakeDailySearch(self):
     # 报告中的用例描述
     self._testMethodDoc = "I/V做成日检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test17(driver)
     logs.info_log("实际运行结果为:" + sucess_text)
     # 验证arg1 != arg2, 相等则fail
     logs.info_log(self.assertNotEqual('No data available', sucess_text))
예제 #9
0
 def test14MultiConditionalRetrieval(self):
     # 报告中的用例描述
     self._testMethodDoc = "多条件检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test14(driver)
     logs.info_log("实际运行结果为:" + sucess_text)
     # self.assertIn(a,b) 判断a in b是否成立,正确则True,否则为False
     logs.info_log(self.assertIn('FCA', sucess_text))
예제 #10
0
 def test12EstablishedValueRetrieval(self):
     # 报告中的用例描述
     self._testMethodDoc = "建值检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test12(driver)
     logs.info_log("实际运行结果为:" + sucess_text)
     # self.assertIn(a,b) 判断a in b是否成立,正确则True,否则为False
     logs.info_log(self.assertIn('FCA', sucess_text))
예제 #11
0
 def test11InvolvedPlaceActorRetrieval(self):
     # 报告中的用例描述
     self._testMethodDoc = "纳入场所担当者检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test11(driver)
     logs.info_log("实际运行结果为:" + sucess_text)
     # self.assertIn(a,b) 判断a in b是否成立,正确则True,否则为False
     logs.info_log(self.assertIn('No data available', sucess_text))
예제 #12
0
 def test10LuyangPortSearch(self):
     # 报告中的用例描述
     self._testMethodDoc = "陸揚港检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test10(driver)
     logs.info_log("实际运行结果为:" + sucess_text)
     # 验证arg1是arg2的子串,不是则fail
     logs.info_log(self.assertIn('OSK - 大阪港', sucess_text))
예제 #13
0
 def test9FinalInclusionInSiteRetrieval(self):
     # 报告中的用例描述
     self._testMethodDoc = "最终纳入场所检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test9(driver)
     logs.info_log("实际运行结果为:" + sucess_text)
     # 验证arg1是arg2的子串,不是则fail
     logs.info_log(self.assertIn('(健康環境)サービスパーツ倉庫', sucess_text))
예제 #14
0
 def test8TransportMorphologicalRetrieval(self):
     # 报告中的用例描述
     self._testMethodDoc = "输送形态检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test8(driver)
     logs.info_log("实际运行结果为:" + sucess_text)
     # self.assertIn(a,b) 判断a in b是否成立,正确则True,否则为False
     logs.info_log(self.assertIn('SEA', sucess_text))
예제 #15
0
 def test3OverseasCitationFirstRetrieval(self):
     # 报告中的用例描述
     self._testMethodDoc = "海外取引先检索"
     logs = log.log_message()
     driver = self.driver
     sucess_text = Logic().test3(driver)
     logs.info_log("实际运行结果为:" + sucess_text)
     # self.assertIn(a,b) 判断a in b是否成立,正确则True,否则为False
     logs.info_log(
         self.assertIn('77512 - FIH(HONG KONG)LIMITED', sucess_text))