使用创建工厂创建标题为 My New Test Result 的测试结果资源,并将其与 testURL 指定的测试用例资源 URL 和 executionURL 指定的测试执行记录资源 URL 关联起来。将测试结果状态设置为 Unverified。有关向服务提供商查询测试用例和执行记录的更多信息,请参阅编辑测试用例并提交更改和编辑测试执行记录并提交更改。从服务提供商处获取测试结果资源的完整资源数据并检查该资源。
newTestResult = createTestResult(myCreationFactory, ...'My New Test Result',testURL,executionURL,'Unverified');
fetch(newTestCase,myClient);
newTestResult
newTestResult =
TestResult with properties:
ResourceUrl: 'https://localhost:9443/qm/oslc_qm/resources/CdffuW...'
Dirty: 0
IsFetched: 1
Title: 'My New Test Result'
Identifier: '1456'
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.