コード例 #1
0
 def __init__(self):
     '''初始化'''
     self.yamltool = ReadYamlTools('LoginPage.yaml')
     self.xmltool = ReadXmlTools()
     self.driver = WebdriverTools()
     self.ele_loc = self.yamltool.get_yaml_all_items('LoginPage')
     self.datas = self.xmltool.get_childs_items('LoginPage')
コード例 #2
0
 def __init__(self):
     '''初始化'''
     self.yamltool = ReadYamlTools('GameListPage.yaml')
     self.xmltool = ReadXmlTools()
     self.log = LogTools()
     self.driver = WebdriverTools()
     self.GL_eleloc = self.yamltool.get_yaml_section_items(
         'GameListPage', 'GL')
     self.JJFS_eleloc = self.yamltool.get_yaml_section_items(
         'GameListPage', 'JJFS')
     self.BZRM_eleloc = self.yamltool.get_yaml_section_items(
         'GameListPage', 'BZRM')
     self.datas = self.xmltool.get_childs_items('GameListPage')
コード例 #3
0
 def __init__(self):
     '''初始化'''
     self.yamltool = ReadYamlTools('FaXianPage.yaml')
     self.xmltool = ReadXmlTools()
     self.log = LogTools()
     self.driver = WebdriverTools()
     self.FX_eleloc = self.yamltool.get_yaml_section_items(
         'FaXianPage', 'FX')
     self.FJJY_eleloc = self.yamltool.get_yaml_section_items(
         'FaXianPage', 'FJJY')
     self.PSPH_eleloc = self.yamltool.get_yaml_section_items(
         'FaXianPage', 'PSPH')
     self.PSJB_eleloc = self.yamltool.get_yaml_section_items(
         'FaXianPage', 'PSJB')
     self.datas = self.xmltool.get_childs_items('FaXianPage')
コード例 #4
0
 def __init__(self):
     '''初始化'''
     self.yamltool = ReadYamlTools('TuiJianPage.yaml')
     self.xmltool = ReadXmlTools()
     self.log = LogTools()
     self.driver = WebdriverTools()
     self.TJ_eleloc = self.yamltool.get_yaml_section_items(
         'TuiJianPage', 'TJ')
     self.ESJY_eleloc = self.yamltool.get_yaml_section_items(
         'TuiJianPage', 'ESJY')
     self.FEGM_eleloc = self.yamltool.get_yaml_section_items(
         'TuiJianPage', 'FEGM')
     self.GMFS_eleloc = self.yamltool.get_yaml_section_items(
         'TuiJianPage', 'GMFS')
     self.GMPL_eleloc = self.yamltool.get_yaml_section_items(
         'TuiJianPage', 'GMPL')
     self.datas = self.xmltool.get_childs_items('TuiJianPage')
コード例 #5
0
 def __init__(self):
     '''初始化'''
     self.yamltool = ReadYamlTools('LunTanPage.yaml')
     self.xmltool = ReadXmlTools()
     self.log = LogTools()
     self.driver = WebdriverTools()
     self.LT_eleloc = self.yamltool.get_yaml_section_items(
         'LunTanPage', 'LT')
     self.ZHHF_eleloc = self.yamltool.get_yaml_section_items(
         'LunTanPage', 'ZHHF')
     self.ZXFB_eleloc = self.yamltool.get_yaml_section_items(
         'LunTanPage', 'ZXFB')
     self.JHT_eleloc = self.yamltool.get_yaml_section_items(
         'LunTanPage', 'JHT')
     self.ZDT_eleloc = self.yamltool.get_yaml_section_items(
         'LunTanPage', 'ZDT')
     self.datas = self.xmltool.get_childs_items('LunTanPage')