• Skip to main content
  • assistive.skiplink.to.breadcrumbs
  • assistive.skiplink.to.header.menu
  • assistive.skiplink.to.action.menu
  • assistive.skiplink.to.quick.search
Product Support Knowledge Base
  • Help
    • Online Help
    • Keyboard Shortcuts
    • Feed Builder
    • What’s new
    • Available Gadgets
    • About Confluence
  • Log in
Hit enter to search
Product Support Knowledge Base

    Content

  • Pages
  • Blog
  • Courses

    Space Tools

  • Settings
  • Content Tools
  • Tasks
    • Remove Read Confirmation
    • Attachments (0)
    • Page History
    • Page Information
    • Resolved comments
    • View in Hierarchy
    • View Source
    • Export to PDF
    • Export to Word
  1. Pages
  2. Product Support Knowledge Base
Skip to end of banner
  • Jira links
  • Workflow
  • Read Confirmation
Go to start of banner

[Xporter] How to count or sum values

  • Created by Unknown User (rmsp) on May 21, 2020

Counting or summing values can easily be done by following the example below.

${set(count,0)}
#{for links}
#{if (%{'${Links[n].LinkType}'.equals('tests')})}
${set(count,%{${count} + 1})}
#{end}
#{end}

Related articles

  • Page:
    [Xray] (Migration from Server/Data Center to the Cloud Using JCMA) S3 Attachment Storage
  • Page:
    [Xray] Templates for migrating Tests from Cloud to Server/Server to Cloud
  • Page:
    [Xray Cloud] How to Properly Format Duration in Test Executions for Xray Cloud
  • Page:
    [Xray] Will the automated Automated Step Library be migrated to the Cloud when performing a migration from Server/DC to the Cloud using JCMA?
  • Page:
    [Xray Cloud] Unable to Drag and Drop Inside Test Repository

  • kb-how-to-article
  • xporter
  • operation
null