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'
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 = 'http://pos.beta.acewill.net/consume/list'
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'
def setUpClass(cls): cls.driver = select_Browser_WebDriver() cls.url = 'http://manage.beta.acewill.net/activity/manage'