---
title: System Parameters
slug: suite-documentation/A6Ln-system-parameters
docTags: 
createdAt: 2026-04-17T12:30:16.629Z
---

Testinium Suite allows you to define parameters through the UI and inject them into your test executions. These parameters can then be accessed within your Java test code.

# Defining Parameters via UI

You can define parameters from the **Set System Parameters** section in the UI by providing:

- **Name** → The key you will use in your code&#x20;
- **Value** → The value assigned to the parameter&#x20;
- **Type** → Determines how the parameter is injected at runtime&#x20;
  - **Command Parameter**&#x20;
  - **Environment Parameter**&#x20;

After defining the parameter, click **Add** to include it in your execution configuration.

# Parameter Types and Access Methods

There are two types of parameters, and each is accessed differently in Java:

## 1. Command Parameter

Command Parameters are exposed as JVM system properties and can be accessed using:

:::BlockQuote
String browserName = System.getProperty("browserName");
:::

## 2. Environment Parameter

Environment Parameters are exposed as operating system environment variables and can be accessed using:

:::BlockQuote
String environment = System.getenv("environment");
:::

## Summary

- **Command Parameter** → System.getProperty("parameterName")&#x20;
- **Environment Parameter** → System.getenv("parameterName")&#x20;

# Important Notes

The exact access method depends on how the parameters are injected during runtime. In most cases:

- Command Parameters are mapped to JVM system properties&#x20;
- Environment Parameters are mapped to OS-level environment variables&#x20;

However, depending on the execution configuration, Environment Parameters may also be accessible via System.getProperty().
