Tools -> Execute Commands -> Edit/Run Script 执行以下脚本: Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim mdl ' the current model ' get the current active model Set mdl = ActiveModel If (mdl Is Nothing) Then MsgBox "There is no…
https://blog.csdn.net/weixin_33923148/article/details/86017742 按要求修改后发现 注释只传值第一个变量 这是因为 ddt数据驱动生成html测试报告获取不到接口的名字 需要修改ddt中的 mk_test_name() 方法 #原文件方法 def mk_test_name(name, value, index=): # Add zeros before index to keep order index = , index_len)…