...
- Verify that Selenic can send results to DTP. See Reporting Results to DTP.
- Verify that DTP is integrated with a supported ALM. Refer to the Parasoft DTP documentation for details.
- Create work items (e.g., user stories, tasks, tests, etc.) in your ALM. Refer to your ALM documentation or ALM administrator for details.
- Test traceability is enabled by annotating your Selenium tests with tags that correlate them with a work item in your ALM. To use annotations, the Parasoft Annotations Maven dependency must be added to your project. The dependency is included when creating projects with Selenic (see Creating Selenium Test Projects from Recorded Actions). For existing projects, add the dependency to your project pom.xml file:
...
Example Annotation
Code Block | ||
---|---|---|
| ||
import com.parasoft.annotations.WorkItem; import static com.parasoft.annotations.WorkItem.Type.*; @WorkItem(type=REQ, id="REQ-123", url="https://server.myALM.com/") @WorkItem(type=REQ, id="REQ-124", url="https://server.myALM.com/") public void my functionmyFunction() { . . . } |
Running Tests
Execute your tests with Selenic after adding WorkItem
annotations:
...
Viewing Results
Refer to the Parasoft DTP documentation for information about viewing test data in DTP dashboards and widgets.