Beispiel #1
0
     def setUp(self):
        self.driver = webdriver.Firefox()

        self.driver.get(url)
        login_control.set_user(self,user,pwd)
        login_control.submit(self)
        self.driver.implicitly_wait(10)
        #public_control.menu(self,u'网络',u'Qos-ip')
        qosIP_control.menu(self)
Beispiel #2
0
 def tearDown(self):
    self.driver.get(url)
    login_control.set_user(self,user,pwd)
    login_control.submit(self)
    self.driver.implicitly_wait(10)
    qosIP_control.menu(self)
    qosIP_control.set_qos_ip_enable(self)
    qosIP_control.delete_multi(self)
    self.driver.quit()