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 = '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()