Пример #1
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/consume')
     #实体卡-未开过卡的
     cls.excel = Excel(os.path.join(gl.dataPath, 'posCardData.xls'))
     #不记名卡-未开过卡的
     cls.toexcel = Excel(os.path.join(gl.dataPath,
                                      'posNotNameCardData.xls'))
Пример #2
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = 'http://pos.beta.acewill.net/consume'
     cls.excel = Excel(
         os.path.join(gl.dataPath, 'posCardData.xls').decode('utf-8'))
     cls.toexcel = Excel(
         os.path.join(gl.dataPath,
                      'posNotNameCardData.xls').decode('utf-8'))
Пример #3
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/card/index')
     cls.excel = Excel(
         os.path.join(
             gl.dataPath, 'posChargeCard.xls'
         )
     )
     #从excel获取一条标记为N的卡号
     cls.cardNo = float(
         cls.excel.getCardNo(cell_col=0,cell_valueType=1)
     ).__int__().__str__()
Пример #4
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/actualcard/list')
     cls.url_s = ''
     header = ['手机号', '姓名', '性别']
     data = [{
         '手机号': createphone(),
         '姓名': '六小灵童',
         '性别': '男'
     }, {
         '手机号': createphone(),
         '姓名': '刘诗诗',
         '性别': '女'
     }]
     write_csvfile(os.path.join(gl.dataPath, '随机卡号+手机号模版.csv'), header,
                   data)
Пример #5
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = 'http://pos.beta.acewill.net/consume/couponlist'
Пример #6
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = 'http://pos.beta.acewill.net/numbercard'
Пример #7
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/chargelicense/list')  # 储值授信入口
     cls.url_ = ""
Пример #8
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/consume/list')
Пример #9
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/charge/edit?type=shop')  # 门店规则入口
     cls.url_s = ''  # 保存成功页面url,默认为空
     cls.url_m = ''  # 保存储值规则修改页面url,默认为空
Пример #10
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/monitor/index?type=set')
Пример #11
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/credit/index')
     cls.url_ = ""
Пример #12
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('privilege/list')
Пример #13
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/questionnaire/list')
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = getBaseUrl('POS_URL') + '/card/index'
     cls.excel = Excel(
         os.path.join(gl.dataPath, 'posChargeCard.xls').decode('utf-8'))
Пример #15
0
    def setUpClass(cls):

        cls.driver = select_Browser_WebDriver()
        cls.url = 'http://pos.beta.acewill.net/charge/index'
Пример #16
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = 'http://pos.beta.acewill.net/card/index'
     cls.excel = Excel(
         os.path.join(gl.dataPath, 'posChargeCard.xls').decode('utf-8'))
Пример #17
0
 def setUpClass(cls):
     """初始化webdriver"""
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/credit')
Пример #18
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/cardcategory/index')
Пример #19
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/manager/list')
Пример #20
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/activity/manage')
Пример #21
0
 def setUpClass(cls):
     """初始化webdriver"""
     cls.driver = select_Browser_WebDriver()
     cls.url = 'http://pos.beta.acewill.net/credit'
Пример #22
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/role/add')
Пример #23
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/activity/create/16')
Пример #24
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/numbercard')
Пример #25
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/valuecard/list')  # 储值卡入口
     cls.url_s = ""
Пример #26
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/group/listCompanies')
Пример #27
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/actualcard/opencard')
     cls.toexcel = Excel(os.path.join(gl.dataPath, 'actualopencard.xls'))
Пример #28
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = join_url('/mall/productList')
Пример #29
0
    def setUpClass(cls):

        cls.driver = select_Browser_WebDriver()
        cls.url = join_url('/charge/index')
Пример #30
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = getBaseUrl('POS_URL') + '/credit/list'