Ejemplo n.º 1
0
 def setUp(self):
     self.get_xml = XmlTools()
     self.driver = setBrowser(self.get_xml.get_node_text('Common/browser'))
     self.url=LoginAction.seturl
     self.hongqi_page=HongQiEmailPage(self.driver,self.url)
     LoginAction.login_action(self.hongqi_page)
     time.sleep(3)
 def setUp(self):
     self.get_xml = XmlTools()
     self.driver = setBrowser(self.get_xml.get_node_text('Common/browser'))
     self.url = LoginAction.seturl
     self.daiban_page = DaiBanPage(self.driver, self.url)
     LoginAction.login_action(self.daiban_page)
     time.sleep(3)
     self.daiban_page.go_daiban()
     time.sleep(1)
 def setUp(self):
     self.get_xml = XmlTools()
     self.driver = setBrowser(self.get_xml.get_node_text('Common/browser'))
     self.url = LoginAction.seturl
     self.sendemail_page = SendEmailPage(self.driver, self.url)
     LoginAction.login_action(self.sendemail_page)
     time.sleep(3)
     self.sendemail_page.go_xiexin()
     time.sleep(3)
Ejemplo n.º 4
0
 def setUpClass(cls):
     cls.get_xml=XmlTools()
     cls.driver=setBrowser(cls.get_xml.get_node_text('Common/browser'))
     cls.url=LoginAction.seturl
     cls.goutongapp_page=AppCenterPage(cls.driver,cls.url)
     LoginAction.login_action(cls.goutongapp_page)
     time.sleep(3)
     cls.goutongapp_page.go_appcenter()
     time.sleep(5)
 def setUp(self):
     self.get_xml = XmlTools()
     self.driver = setBrowser(self.get_xml.get_node_text('Common/browser'))
     self.url=LoginAction.seturl
     self.tongxun_page=TongXunPage(self.driver,self.url)
     LoginAction.login_action(self.tongxun_page)
     time.sleep(3)
     self.tongxun_page.go_TongXun()
     time.sleep(3)
     self.tongxun_page.clickCreatePeople()
     time.sleep(5)