Exemplo n.º 1
0
 def testcpsshoudingdingdanshu247(self):
     '''进入https://admin.yiqifa.com/mgrSimpleCpsReport.do 按照活动查询汇总记录,和cps明细,对比明细中的收订订单数和汇总中的收订订单数'''
     (cpshuizong, cpsmingxi) = y.yqfcpsordershishihuizonggeshu(
         247, '收订订单数', 60, 3, 'cps',
         '/html/body/div[2]/table/tbody/tr[2]/td[5]',
         '/html/body/center/div/table/tbody/tr[21]/td[13]')
     self.assertTrue(y.difflist(cpshuizong, cpsmingxi))
Exemplo n.º 2
0
 def testcpsyouxiaodingdanshu17971(self):
     '''进入https://admin.yiqifa.com/mgrSimpleCpsReport.do 按照活动查询汇总记录,和cps明细,对比明细中的有效商品数和汇总中的收订商品数是否相等'''
     (cpshuizong, cpsmingxi) = y.yqfcpsordershishihuizonggeshu(
         17971, '有效订单数', 105, 10, 'cps',
         '/html/body/div[2]/table/tbody/tr[2]/td[7]',
         '/html/body/center/div/table/tbody/tr[21]/td[15]')
     self.assertTrue(y.difflistcout(cpshuizong, cpsmingxi))