Create test plan in OSLC service provider
Create a New Test Plan
This example shows how to submit a creation request for a new test plan resource with a configured OSLC client.
After you have created and configured the OSLC client
myClient as described
in Create and Configure an OSLC Client for the Quality Management Domain, create a
creation factory for the test plan resource
myCreationFactory = getCreationFactory(myClient,'TestPlan');
Use the creation factory to create a test plan resource with the title
My New Test
Plan. Retrieve the full resource data from the service provider for the test
plan resource and inspect the
newTestPlan = createTestPlan(myCreationFactory,'My New Test Plan'); fetch(newTestPlan,myClient); newTestPlan
newTestPlan = TestPlan with properties: ResourceUrl: 'https://localhost:9443/qm/resource/itemName/_f56s...' Dirty: 0 IsFetched: 1 Title: 'My New Test Plan' Identifier: '301'
Open the test plan resource in the system browser by using the