Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Ranorex rapport is empty, but test succeeds.

Solved1.32K views13th February 2023jenkins ranorex
6
Maxim Bonte [SLC] [DevOps Member]62 13th February 2023 0 Comments

Hi Dojo,

I am running a Ranorex test using a jenkins pipeline which used to succeed, however last time I ran it I noticed that no report / an empty report was generated.
The test itself seems to have run fine if I check the console output, but this is quite annoying to check it this way.

Would this be a known issue?

Thanks in advance.

Michiel Vanthuyne [SLC] [DevOps Enabler] Answered question 13th February 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
7
Michiel Vanthuyne [SLC] [DevOps Enabler]4.11K Posted 13th February 2023 0 Comments

Hi Maxim, this is an issue in Ranorex we recently discovered in Ranorex version 10.5.1 and reported to Ranorex. I currently have no information if this also occurs with other versions of Ranorex.

This issue occurs if you start a Ranorex script from command line, e.g. from a Jenkins pipeline, and pass a number of arguments using the /pa modifier to fill in some of the global parameters in your test. If one on the argument names passed with a /pa argument does not have a matching global parameter in the test, this will cause the empty report. Your test will however still run correctly.

Example:
If in your test you have the Agent, Username, and password parameters

And you are using this Jenkins command line to start the test:

bat label: 'run test', script:"\".\\Ranorex\\Scripts\\${scriptName}\\${scriptName}\\bin\\release\\${scriptName}.exe\" /reportfile:\"${reportFolder}\\${env.Agent}\\${env.JOB_NAME}\\${scriptName}\\${scriptName}.html\" /junit /pa:Database=${env.Database} /pa:Agent=${env.Agent} /pa:Username=${scriptUser} /pa:Password=${scriptPw}

The "Database" parameter is present in the Jenkins bat command, but not in the global parameter. This is what we found to be the cause of the empty reports.

As a solution, you can either remove this part from the command:

/pa:Database=${env.Database}

or add the "Database" parameter to the global parameters of your test.

As far as we found, this will not occur if you start the Ranorex script from within Ranorex studio directly, only if you start it using command line or from a Jenkins pipeline that uses the command line.

Michiel Vanthuyne [SLC] [DevOps Enabler] Edited answer 13th February 2023
You are viewing 1 out of 2 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin