예제 #1
0
 def test_customer_visit_supplement(self):
     """常规拜访-补录"""
     logging.info('******************** 常规拜访-补录 ********************')
     c = Customer(self.driver)
     c.open_qywx_ccloud()
     c.enter_customer_visit()
     c.customer_visit_replenish()
     c.return_home_page()
예제 #2
0
 def test_customer_visit(self):
     """常规拜访"""
     logging.info('******************** 常规拜访 ********************')
     c = Customer(self.driver)
     c.open_qywx_ccloud()
     c.enter_customer_visit()
     c.customer_visit()
     c.return_home_page()
예제 #3
0
 def test_customer_visit_supplement(self):
     """常规拜访-补录"""
     logging.info('{:*^60}'.format(' 常规拜访-补录 '))
     c = Customer(self.driver)
     c.open_wechat_ccloud()
     c.enter_customer_visit()
     c.customer_visit_replenish()
     c.return_home_page()
예제 #4
0
 def test_add_customer_without_photo(self):
     """新增客户-不带照片"""
     logging.info('{:*^60}'.format(' 新增客户-不带照片 '))
     c = Customer(self.driver)
     c.open_wechat_ccloud()
     c.new_customer()
     c.return_home_page()
예제 #5
0
 def test_add_customer_without_photo(self):
     """新增客户-不带照片"""
     logging.info('******************** 新增客户-不带照片 ********************')
     c = Customer(self.driver)
     c.open_qywx_ccloud()
     c.new_customer(photo=False)
     self.assertEqual(self.driver.title, '客户列表')