예제 #1
0
 def setUp(self):
     logger.info('setUp start')
     login.loginWeb(self)
     self.driver.implicitly_wait(10)
     networkshare = NetworkSharingPage(self.driver,self.url)
     networkshare.click_netConfig()
     time.sleep(0.5)
 def setUp(self):
     logger.info('setUp start')
     login.loginWeb(self)
     self.driver.implicitly_wait(10)
     sharing = NetworkSharingPage(self.driver, self.url)
     # 打开网络配置-网络共享
     sharing.click_netConfig()
     time.sleep(0.5)
     sharing.click_NetworkSharing()
     time.sleep(1)
 def setUp(self):
     logger.info('setUp start')
     login.loginWeb(self)
     self.driver.implicitly_wait(10)
     ftpSmaba = NetworkSharingPage(self.driver, self.url)
     # 打开网络配置-网络共享
     ftpSmaba.click_netConfig()
     time.sleep(0.5)
     ftpSmaba.click_NetworkSharing()
     time.sleep(1)
     ftpSmaba.click_NetworkSharing2()  # 点击网络共享子页面
     time.sleep(1)
예제 #4
0
 def setUp(self):
     logger.info('setUp start')
     login.loginWeb(self)
     self.driver.implicitly_wait(10)
     account = NetworkSharingPage(self.driver, self.url)
     # 打开网络配置-网络共享
     account.click_netConfig()
     time.sleep(0.5)
     account.click_NetworkSharing()
     time.sleep(1)
     account.click_AccountSettings()
     time.sleep(1)