Ejemplo n.º 1
0
 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()
Ejemplo n.º 2
0
 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"
Ejemplo n.º 3
0
 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()
Ejemplo n.º 4
0
 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()
Ejemplo n.º 5
0
 def __init__(self):
     self.mylog = log.log()
Ejemplo n.º 6
0
 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()