Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 UFT-API 的新手,正在从事一个项目。这是场景,我有一个 Excel 格式的数据表,其中包含三 (3) 列、WSDL、SOAP_REQUEST 和 CHECKPOINTS。我将在这个excel数据中循环,每个循环,我需要导入新的wdsl,加载新的请求并检查检查点。现在我刚刚开始这个项目,我不知道如何通过自定义代码动态导入 wsdl。
这种情况可行吗?
我怎样才能做到这一点?
创建 OnBeforeExecuteStepEvent 并尝试使用以下代码
this.StServiceCallActivity4.TransportProtocol.SOAPProperties.EndpointAddress = "";
例如:this.StServiceCallActivity4.TransportProtocol.SOAPProperties.EndpointAddress = "https://abc";