def setup_class(self, login_info=data("open_audit_manage")[0]):
     self.driver = setup()
     self.audit = resource_audit.ResourceAudit(self.driver)
     login(self.driver,
           user_name=login_info["user_name"],
           user_pass=login_info["user_pass"])
     self.audit.open_resource_application(login_info["module_type"])
Ejemplo n.º 2
0
 def setup_class(self):
     self.driver = setup()
     self.domain = domain_manage.DomainManage(self.driver)
     login(self.driver)
     self.domain.open_domain()
Ejemplo n.º 3
0
 def setup_class(self, module_info=data("audit_config")):
     self.driver = setup()
     self.audit = resource_audit.ResourceAudit(self.driver)
     login(self.driver)
     self.audit.open_resource_application(module_info["module_type"])
 def setup_class(self):
     self.driver = setup()
     self.parameter = parameter_config.ParameterConfig(self.driver)
     login(self.driver)
     self.parameter.open_parameter_config()
 def setup_class(self):
     self.driver = setup()
     self.auth = authority_manage.AuthorityManage(self.driver)
     login(self.driver)
     self.auth.open_authority()
Ejemplo n.º 6
0
 def setup(self):
     self.driver = setup()
     self.login = login_page.LoginPage(self.driver)
Ejemplo n.º 7
0
 def setup_class(self):
     self.driver = setup()
     self.user_manage = user_manage.UserManage(self.driver)
     login(self.driver)
     self.user_manage.open_user_manage()
 def setup_class(self):
     self.driver = setup()
     self.manual = user_manual.UserManual(self.driver)
     login(self.driver)
     self.manual.open_user_manual()
Ejemplo n.º 9
0
 def setup_class(self):
     self.driver = setup()
     self.soft = software_manage.SoftwareManage(self.driver)
     login(self.driver)
     self.soft.open_soft_manage()
Ejemplo n.º 10
0
 def setup_class(self):
     self.driver = setup()
     self.myapp = my_application.MyApplication(self.driver)
     login(self.driver, data("user_name"), data("user_pass"))
     self.myapp.click_my_share()
 def setup_class(self):
     self.driver = setup()
     self.resource = resource_pool.ResourcePool(self.driver)
     login(self.driver)
     self.resource.open_resource_pool()
 def setup_class(self):
     self.driver = setup()
     self.auth = resource_auth.ResourceAuth(self.driver)
     login(self.driver)
     self.auth.open_resource_auth()
Ejemplo n.º 13
0
 def setup_class(self):
     self.driver = setup()
     self.hardware = hardware_manage.HardwareManage(self.driver)
     login(self.driver)
     self.hardware.open_hardware_manage()
Ejemplo n.º 14
0
 def setup_class(self):
     self.driver = setup()
     self.info = basic_info.BasicInfo(self.driver)
     login(self.driver)
     self.info.open_basic_info()
 def setup_class(self):
     self.driver = setup()
     self.annot = announcements.Announcements(self.driver)
     login(self.driver)
     self.annot.open_announcements()
Ejemplo n.º 16
0
 def setup_class(self):
     self.driver = setup()
     self.data_manage = user_data_manage.UserDataManage(self.driver)
     login(self.driver, data("user_name"), data("user_pass"))
     self.data_manage.open_user_data_manage()
Ejemplo n.º 17
0
 def setup_class(self):
     # 创建对象接受setup的返回值
     self.driver = setup()
     # 创建对象将self.driver传给DomainPage
     self.domain = domain_manage.DomainManage(self.driver)
     login(self.driver)