Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Everything is now ready to install Greenspector tools for measures. Three tools are necessary:

  • Greenspector CLI - To run measurement on our testbench

  • Testrunner - To run measurement on local device

  • DashboardCampaign - To generate a result's dashboard

Preparation

Please create two folder for each use:

Disk (C:)

GreenspectorTools

Measure

Dashboard

A different location as Documents can be chosen. In this case, please remember it for the PATH section of this document.

Download

These tools are available on Greenspector Core Saas, in module section.

To download the right version of these tools, we have to know the Windows OS version. For this purpose, open command prompt as previously explained and use:

systeminfo | findstr /C:"Type du système" 

In french, try:

systeminfo | findstr /C:"Type du système"

Two output can be expected:

  • x86-based PC for 32-bit version

  • x64-based PC for 64-bit version

Please note that :

  • 32-bit version is compatible with both x86 and x64 systems

  • 64-bit version is only compatible with x64 systems

Choose 32-bit version in case of doubt.

  • Following this result, choose the right version for each download:

image-20240222-083936.png
  • Browse in module section and download each required part at the right location:

    • In Measure folder:

      • greenspector-X.XX.X_windows-XXX.exe in Greenspector CLI

      • testrunner-X.X.X_windows-XXX.exe in Test Runner

    • In Dashboard folder:

      • dashboardCampagne-X.X.X_windows-XXX.exe in Dashboard campaign CLI

      • assets.tar in Definition Assets

      • definition.yml in Definition file Template

      • config.yml in Config file Template

  • Rename executables for easier use:

    • greenspector-X.XX.X_windows-XXX.exe to gspt.exe

    • testrunner-X.X.X_windows-XXX.exe to testrunner.exe

    • dashboardCampagne-X.X.X_windows-XXX.exe to dashboardCampagne.exe

  • Unzip assets.tar

PATH

As usual to be able to launch these tools from every folder, we have to add them to PATH.

  • In Start Menu, launch Run (hotkey Windows+R) and type SystemPropertiesAdvanced

Image8.png
  • Select Environment Variables...

Image9.png
  • In section User variables, select line Path and Edit...

Image24.png
  • With New, add the following lines, one by one

C:\GreenspectorTools\Measure
C:\GreenspectorTools\Dashboard
  • Restart command prompt to apply PATH changes

Verification

  • Use the following commands to verify the installation:

gspt -v
testrunner -v

These commands should show current version of Greenspector CLI and Testrunner:

Image49.png

DashboardCampagne doesn't have version check for now.

  • So enter its command without argument:

dashboardCampagne

You should see the following output:

image-20240227-080920.png

  • No labels