Exemple #1
0
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = str(getBaseUrl('POS_URL')) + r'/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'))
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = getBaseUrl('POS_URL') + '/consume/list'
Exemple #3
0
 def setUpClass(cls):
     """初始化webdriver"""
     cls.driver = select_Browser_WebDriver()
     cls.url = getBaseUrl('POS_URL') + '/credit'
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = getBaseUrl('POS_URL') +'/couponsale/index'
 def setUpClass(cls):
     cls.driver = select_Browser_WebDriver()
     cls.url = getBaseUrl('POS_URL') +'/numbercard'