Quick Navigation
Nextedy Solutions Macros
Core UI components and data functions for building dashboards and reports.
nxLinkCoverage
Count traceability links across work item populations.
nxCountByEnum
Aggregate work items by enumeration field values.
nxFmeaElementBlock
Render failure mode analysis in tabular format.
nxDocInventoryTree
Display document hierarchy and relationships.
nxRiskMatrix
Render risk severity/probability matrices with color coding.
nxKpiCard
Display key performance indicators with traffic light styling.
nxCoverageBar
Visualize completion percentages with color-coded progress bars.
Overview
Velocity macros in TestAuto2 serve three primary functions:- UI Components — Reusable HTML/CSS widgets for dashboards (banners, cards, grids, tables)
- Data Functions — Query and aggregate work items and documents from Polarion
- Formatting — Apply conditional styling (traffic lights, progress bars, color coding)
.polarion/pages/scripts/velocity/nextedy_solutions.vm and imported by dashboard and report pages.
Key Features
- :fontawesome-solid-check: Traffic Light Styling — Color-coded cells based on completion thresholds (green ≥ 80%, yellow 50–79%, red < 50%)
- :fontawesome-solid-gauge: Live Metrics — Real-time traceability, coverage, and compliance calculations
- :fontawesome-solid-link: Link Aggregation — Count and visualize relationships across work item types
- :fontawesome-solid-chart-pie: Risk Matrices — Severity/probability grids for HARA, FMEA, and HAZID
- :fontawesome-solid-layer-group: Hierarchical Display — Render system structures, document trees, and nested data
- :fontawesome-solid-palette: Conditional Formatting — Apply CSS classes and tooltips dynamically
Macro Categories
| Category | Purpose | Example Macros |
|---|---|---|
| UI Containers | Page structure and layout | #nxReportBanner(), #nxSectionHeader() |
| Cards & Grids | Statistics and KPI display | #nxStatCard(), #nxKpiCard(), #nxLinkCard() |
| Data Query | Work item aggregation | #nxLinkCoverage(), #nxCountByEnum() |
| Risk Analysis | FMEA and hazard rendering | #nxFmeaElementBlock(), #nxRiskMatrix() |
| Navigation | Document tree and structure | #nxDocInventoryTree() |
| Progress & Status | Completion tracking | #nxCoverageBar() |
Common Usage Patterns
Query Work Items by Type
Access Enumeration Fields
Calculate Coverage Percentage
Apply Conditional CSS
Macro Scope and Context
Architecture Diagram
Related Documentation
- Nextedy Solutions Macros — Complete macro reference with code examples
- Velocity Templates — Project-level velocity script configuration
- Dashboards and Reports — Pages that use these macros
- Standards Compliance Overview — Example scorecard using traffic light macros