Exemple #1
0
 def test_11fuHe(self):
     hfItem = {}
     hfItem['resultprocess'] = '回访通过'
     hfItem['operatingComments'] = '回访用户很满意。'
     ff_result = reviewAndReturnVisit(hfItem).test_returnDetailsAndVisit()
     if ff_result:
         logging.info("*****11.web端回访完毕*****")
     else:
         logging.info("XXXXXXXXXX11.web端回访失败XXXXXXXXXX")
Exemple #2
0
 def huiFang(self, userItem):
     """
     坐席回访【回访通过,回访不通过】
     """
     userItem['resultprocess'] = '回访通过'
     userItem['operatingComments'] = '回访用户很满意。'
     ff_result = reviewAndReturnVisit(userItem).test_returnDetailsAndVisit()
     if ff_result:
         logging.info("*****9.web端回访完毕*****")
     return ff_result
Exemple #3
0
 def fuHe(self):
     time.sleep(random.randint(1,2))
     fh_loginUser = self.loginItems['zfj']['user']
     fh_loginUser['checkdesc'] = '经复核有效'
     fh_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/14.png"
     # fh_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/15.png"
     # fh_picpath3 = "E:/test/dcms/ChengGuan/testFile/img/16.png"
     fh_loginUser['oderNumber'] = self.oderNumber
     fh_loginUser['imgPath'] = [fh_picpath1]
     fh_result = reviewAndReturnVisit(fh_loginUser).test_app_returnDetailsAndVisit()
     if fh_result:
         logging.info("*****9.移动端执法局复核完毕*****")
Exemple #4
0
 def fuHe_lc2(self):
     fh_loginUser = self.loginItems['wggly']['user']
     fh_loginUser['checkdesc'] = '经复核有效'
     fh_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/30.png"
     fh_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/31.png"
     fh_loginUser['imgPath'] = [fh_picpath1, fh_picpath2]
     fh_result = reviewAndReturnVisit(
         fh_loginUser).test_app_returnDetailsAndVisit()
     if fh_result:
         logging.info("*****7.移动端网格管理员复核完毕*****")
     else:
         logging.info("XXXXXXXXXX7.移动端网格管理员复核失败XXXXXXXXXX")
Exemple #5
0
 def fuHe(self):
     time.sleep(random.randint(1,3)) 
     fh_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/6.png"
     fh_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/7.png"
     fh_loginUser = self.loginItems['wggly']['user']
     fh_loginUser['oderNumber'] = self.oderNumber
     fh_loginUser['casestateid'] = getConstant.FHYX  #复核通过、复核不通过
     fh_loginUser['checkdesc'] = '经复核有效'
     fh_loginUser['imgPath'] = [fh_picpath1,fh_picpath2]
     fh_result = reviewAndReturnVisit(fh_loginUser).test_app_returnDetailsAndVisit()
     if fh_result:
         logging.info("9.移动端网格管理员复核完毕")
         return True
Exemple #6
0
 def test_12fuHe(self):
     time.sleep(random.randint(1, 2))
     fh_loginUser = self.loginItems['wggly']['user']
     fh_loginUser['checkdesc'] = '经复核有效'
     fh_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/10.png"
     fh_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/11.png"
     fh_loginUser['imgPath'] = [fh_picpath1, fh_picpath2]
     fh_result = reviewAndReturnVisit(
         fh_loginUser).test_app_returnDetailsAndVisit()
     if fh_result:
         logging.info("*****12.移动端网格管理员复核完毕*****")
     else:
         logging.info("XXXXXXXXXX12.移动端网格管理员复核失败XXXXXXXXXX")
Exemple #7
0
 def fuHe(self):
     time.sleep(random.randint(1, 3))
     fh_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/16.png"
     fh_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/17.png"
     fh_picpath3 = "E:/test/dcms/ChengGuan/testFile/img/12.png"
     fh_loginUser = self.loginItems['zfj']['user']
     fh_loginUser['checkdesc'] = '经复核有效'
     fh_loginUser['imgPath'] = [fh_picpath1, fh_picpath2, fh_picpath3]
     fh_result = reviewAndReturnVisit(
         fh_loginUser).test_app_returnDetailsAndVisit()
     if fh_result:
         logging.info("*****7.移动端网格管理员复核完毕*****")
     else:
         logging.info("XXXXXXXXXXXXX7.移动端网格管理员复核出现问题XXXXXXXXXXXXXX")
Exemple #8
0
 def fuHe(self, userItem):
     """
     移动端apk复核[zfj,gly]
     """
     time.sleep(random.randint(1, 3))
     fh_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/6.png"
     fh_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/7.png"
     userItem['id'] = userItem['hsfhUser']['id']
     userItem['name'] = userItem['hsfhUser']['name']
     userItem['casestateid'] = getConstant.FHYX  #复核通过、复核不通过
     userItem['checkdesc'] = '经复核有效'
     userItem['imgPath'] = [fh_picpath1, fh_picpath2]
     fh_result = reviewAndReturnVisit(
         userItem).test_app_returnDetailsAndVisit()
     if fh_result:
         logging.info("9.移动端网格管理员复核完毕")
     return fh_result
Exemple #9
0
 def fuHe(self):
     time.sleep(random.randint(1, 2))
     fh_loginUser = self.loginItems['zfj']['user']
     fh_loginUser['checkdesc'] = '经复核有效'
     fh_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/23.png"
     # fh_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/15.png"
     # fh_picpath3 = "E:/test/dcms/ChengGuan/testFile/img/16.png"
     fh_loginUser['casestateid'] = getConstant.FHYX  #复核通过、复核不通过
     fh_loginUser['oderNumber'] = self.oderNumber
     fh_loginUser['imgPath'] = [fh_picpath1]
     fh_result = reviewAndReturnVisit(
         fh_loginUser).test_app_returnDetailsAndVisit()
     if fh_result:
         logging.info("*****7.移动端执法局复核完毕*****")
         return True
     else:
         logging.info("XXXXXXXXXX7.移动端执法局复核失败XXXXXXXXXX")