Advertisement

Robot框架失败运行测试用例

阅读量:

1、对Python37\Lib\site-packages\robot\run.py文件进行相应调整

2、为RobotFramework类新增make方法:

复制代码
 def make(self, outxml):

    
 	xmldoc = minidom.parse(outxml)
    
 	suiteElementList = xmldoc.getElementsByTagName('suite')
    
 	mySuite = []
    
 	for suiteElement in suiteElementList:
    
 		if suiteElement.childNodes is not None:
    
 			for element in suiteElement.childNodes:
    
 				if element.nod

全部评论 (0)

还没有任何评论哟~