Esempio n. 1
0
 def call_step_method(self, teststep):
     GlobalConfig.StepParameterFilePath = GlobalConfig.get_parameter_filepath(
         teststep.StepParametersFilePath)
     instance = MethodInvoker.get_instance(teststep.StepPackage,
                                           teststep.StepGroup,
                                           teststep.StepPackage.split('.'))
     method = MethodInvoker.get_method(instance, teststep.StepName)
     arglist = list()
     arglist.append(teststep.StepParameterID)
     method(arglist)
Esempio n. 2
0
 def testName(self):
     GlobalConfig.StepParameterFilePath=GlobalConfig.get_parameter_filepath("ComponetParameters.xml")
     instance=MethodInvoker.get_instance("gateside.autotesting.iat_stepgroups.teststep","TestStep","gateside.autotesting.iat_stepgroups.teststep".split("."))
     method=MethodInvoker.get_method(instance,"setpmethod")
     args=list()
     MethodInvoker.invoke_method(method,args)