def setUp(self): self.driver = webdriver.Firefox() self.url = 'http://192.168.1.79:8080' self.name = 'SHTEST' self.passwd = '123456' self.title = u'用户登录_EXSOFT' self.login_page = loginIn(self.driver, self.url, self.title) self.cusCode = u'HQ082' self.cusName = u'HQ082_name' self.mylog = log.log() self.gc = getCargo() self.waybillNo = u'' self.mylog = log.log() self.cargo_page = getCargo()
def setUp(self): self.driver = webdriver.Firefox() self.url = 'http://192.168.1.79:8080' self.name = 'SHTEST' self.passwd = 'KD12345678' self.title = u'用户登录_EXSOFT' self.login_page = loginIn(self.driver, self.url, self.title) self.mylog = log.log() print "start"
def setUp(self): self.driver = webdriver.Firefox() self.url = 'http://192.168.1.79:8080' self.name = 'SZCR' self.passwd = '123456' self.title = u'用户登录_EXSOFT' self.login_page = loginIn(self.driver, self.url, self.title) self.cusCode = u'HQ082' self.cusName = u'HQ082_name' self.mylog = log.log() self.gc = getCargo() self.waybillNo = time.strftime("%Y%m%d%H%M%S", time.localtime()) self.inputBill = subInput()
def setUp(self): self.driver = webdriver.Firefox() self.url = 'http://192.168.1.79:8080' self.name = 'SZCR' self.passwd = '123456' self.title = u'用户登录_EXSOFT' self.login_page = loginIn(self.driver, self.url, self.title) self.cusCode = u'HQ082' self.cusName = u'HQ082_name' self.mylog = log.log() self.gc = getCargo() self.waybillNo = time.strftime("%Y%m%d%H%M%S", time.localtime()) self.inputBill = subInput() self.inputCheck = check() self.exportWeigh = exportWeigh() self.sorting = sort() self.mawbNo = time.strftime("%Y%m%d", time.localtime()) self.szpackage = szpackage() self.review = review() self.declare = declare() self.clearance = clearance_customs()
def __init__(self): self.mylog = log.log()
def __init__(self, selenium_driver, base_url, page_title): # type: (object, object, object) -> object self.driver = selenium_driver self.url = base_url self.title = page_title self.mylog = log.log()