Ejemplo n.º 1
0
def get_testcaselist(xmlFilepath):
    GlobalConfig.TestCaseFilePath = xmlFilepath
    root = ParseXMLToElement.get_root(xmlFilepath)
    elementlist = ParseXMLToElement.get_children_by_tag(root, "TestCase")
    testcaselist = list()
    casemanager = StepsCaseManager()
    for element in elementlist:
        testcase = casemanager.initialize_testcase(element)
        testcaselist.append(testcase)
    return testcaselist
Ejemplo n.º 2
0
def get_testcaselist(xmlFilepath):
    GlobalConfig.TestCaseFilePath=xmlFilepath
    root=ParseXMLToElement.get_root(xmlFilepath)
    elementlist=ParseXMLToElement.get_children_by_tag(root,"TestCase")
    testcaselist=list()
    casemanager=StepsCaseManager()
    for element in elementlist:
        testcase=casemanager.initialize_testcase(element)
        testcaselist.append(testcase)
    return testcaselist
Ejemplo n.º 3
0
 def __init__(self):
     '''初始化管理器
     '''
     self.root=self.root=ParseXMLToElement.get_root(GlobalConfig.UIElementFilePath)
Ejemplo n.º 4
0
 def __init__(self):
     """初始化管理器
     """
     self.root = self.root = ParseXMLToElement.get_root(GlobalConfig.UIElementFilePath)
Ejemplo n.º 5
0
 def __init__(self):
     '''初始化管理器
     '''
     self.root=self.root=ParseXMLToElement.get_root(GlobalConfig.TestCaseFilePath)
Ejemplo n.º 6
0
 def __init__(self):
     '''
     Constructor
     '''
     self.root=self.root=ParseXMLToElement.get_root(GlobalConfig.StepParameterFilePath)