Everything is now ready to install Greenspector tools for measures. Three tools are necessary:
Greenspector CLI
- To run measurement on our testbenchTestrunner
- To run measurement on local deviceDashboardCampaign
- 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 https://app.greenspector.com/, 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 versionx64-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:
Browse in module section and download each required part at the right location:
In
Measure
folder:greenspector-X.XX.X_windows-XXX.exe
inGreenspector CLI
testrunner-X.X.X_windows-XXX.exe
inTest Runner
In
Dashboard
folder:dashboardCampagne-X.X.X_windows-XXX.exe
inDashboard campaign CLI
assets.tar
inDefinition Assets
definition.yml
inDefinition file Template
config.yml
inConfig file Template
Rename executables for easier use:
greenspector-X.XX.X_windows-XXX.exe
togspt.exe
testrunner-X.X.X_windows-XXX.exe
totestrunner.exe
dashboardCampagne-X.X.X_windows-XXX.exe
todashboardCampagne.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 typeSystemPropertiesAdvanced
Select
Environment Variables...
In section
User variables
, select linePath
andEdit...
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:
DashboardCampagne
doesn't have version check for now.
So enter its command without argument:
dashboardCampagne
You should see the following output:
Next step is 05 - Verify Network - Windows - Android