Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space SELDEV and version 2020.2

...

  1. Verify that Selenic can send results to DTP. See Reporting Results to DTP.
  2. Verify that DTP is integrated with a supported ALM. Refer to the Parasoft DTP documentation for details. 
  3. Create work items (e.g., user stories, tasks, tests, etc.) in your ALM. Refer to your ALM documentation or ALM administrator for details.
  4. 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
languagejava
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 myFunction() {
	    . . .
}

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.