Understanding Verification vs Validation Links
TestAuto2 uses two distinct link roles to implement ISO 26262 V-model traceability:
| Link Role | Direction | Purpose |
|---|
| verifies | Test Case → System/Subsystem/Design Requirement | Confirms the system was built correctly (verification) |
| validates | Test Case → Customer Requirement | Confirms the right system was built (validation) |
Verification tests target technical requirements (system, subsystem, design), while validation tests target user needs (customer requirements). This distinction is critical for ISO 26262 Part 4 compliance.
Link Tests from the Verification PowerSheet
The most efficient way to establish test-to-requirement links is directly within PowerSheet configurations:
1. Open the Appropriate Verification Sheet
Navigate to Testing Space → select the verification sheet matching your requirement level:
- System Verification Sheet — for System Requirements
- Subsystem Verification Sheet — for Subsystem Requirements
- Design Verification Sheet — for Design Requirements
- User Need Validation Sheet — for Customer Requirements
2. Create or Link Test Cases Inline
- Locate the requirement row you need to verify
- Click into the Verification Test Case column (orange header)
- Either:
- Select existing test case: Type test case ID and press Enter
- Create new test case: Click the ➕ icon to open entity factory
The entity factory automatically creates the test case in the correct module and establishes the link.
Verify that your PowerSheet configuration includes the correct entityFactory.modulePath. For system verification, this should be Testing/SystemVerificationSpecification. Incorrect module paths will create test cases in the wrong location.
3. Add Multiple Test Cases
For requirements needing comprehensive verification coverage:
- In the test case column, enter multiple test case IDs separated by spaces
- Press Enter to commit all links simultaneously
- Each test case appears as a separate sub-row when the relationship expands
Link Tests from Test Case Work Items
If you prefer to work from the test case side:
1. Open the Test Case
Navigate to Testing Space → open the test case document → click the test case ID.
2. Add Verification or Validation Links
- Scroll to the Links section
- Click Add Link
- Select link role:
- verifies for system/subsystem/design requirements
- validates for customer requirements
- Enter the requirement ID or use the picker to browse
- Click Add
Polarion automatically creates the reverse link. When you add TestCase-123 verifies SysReq-456, Polarion also creates SysReq-456 is verified by TestCase-123. You only need to create the link once from either side.
Verify Traceability Coverage
After establishing links, confirm coverage using dashboard metrics:
1. Check Coverage Bars
Navigate to Testing Space home dashboard and review:
System Requirements Verification Coverage
█████████████░░░ 87% (152 of 175 verified)
[Show gaps]
Click Show gaps to see the Lucene query identifying unlinked requirements:
type:sysReq AND NOT backlinkedWorkItems:verifies=TA*
2. Review Coverage in Verification PowerSheet
Open the verification PowerSheet and:
- Look for requirements with empty test case columns (coverage gaps)
- Use the Document Grouping feature to organize by source specification
- Apply the built-in Summary View to focus on ID/Title only and quickly spot gaps
Common Traceability Patterns
Never use the verifies link role for customer requirements — this violates the V-model. Customer requirements must use validates. Support tickets show this is a common mistake when users manually create links outside PowerSheet.
Verification with External Evidence
For validation test cases that require external evidence (test reports, measurement data):
- Open the User Need Validation Sheet
- Expand the Validation Evidence column (red header)
- Click to attach external references
- The evidence appears in the external references expansion path
This creates the chain: Customer Requirement ← validates ← Validation Test Case → externalReferences → Evidence
Verification Step
You should now see:
- Non-empty test case columns in verification PowerSheets for linked requirements
- Coverage percentage increasing on Testing Space dashboard
- Gap query results decreasing when you run the unlinked requirements query
- Bi-directional links visible from both requirement and test case work items
See Also