Exemplo n.º 1
0
 def test_bei_diao_11(self):
     '''三要素任意一项不输入,点击发起背调'''
     faqipage = FaQiBeiDiaoPage(self.driver, self.url, u'登录-知了背调')
     faqipage.input_name('靳生顺')
     faqipage.input_id_number('632124199210262815')
     faqipage.click_start_button()
     self.assertEqual(faqipage.get_input_error_text(), '三要素输入有误')
Exemplo n.º 2
0
 def test_bei_diao_12(self):
     '''身份证号和姓名不匹配,点击发起背调'''
     faqipage = FaQiBeiDiaoPage(self.driver, self.url, u'登录-知了背调')
     faqipage.input_name('靳生顺')
     faqipage.input_id_number('632124199210262816')
     faqipage.input_phone_number('17717564981')
     faqipage.click_start_button()
     self.assertEqual(faqipage.get_san_yao_su_error_text(),
                      '身份证和姓名输入不匹配,请确认输入是否有误')
Exemplo n.º 3
0
 def test_bei_diao_13(self):
     '''身份证和姓名匹配,电话号码不匹配,进入人工审核'''
     faqipage = FaQiBeiDiaoPage(self.driver, self.url, u'登录-知了背调')
     faqipage.input_name('靳生顺')
     faqipage.input_id_number('632124199210262815')
     faqipage.input_phone_number('17717564982')
     faqipage.click_start_button()
     print faqipage.get_ren_gong_text()
     # 这里需要截图
     faqipage.click_ren_gong_next()
Exemplo n.º 4
0
 def test_bei_diao_10(self):
     '''三要素不输入,点击发起背调'''
     faqipage = FaQiBeiDiaoPage(self.driver, self.url, u'登录-知了背调')
     faqipage.user_password_success_login('17717564981', '1234qwer')
     faqipage.click_start_button()
     self.assertEqual(faqipage.get_input_error_text(), '三要素输入有误')