Precedence will be given to ENVIRONMENT > PARAMETER > PROPERTIES
ENVIRONMENT variable can be set via CI tool
ex.
Jenkins {Inject env variable in build process}
GitLab {GitLab variables}
Code {Java - System.setenv()}
PARAMETER variable can be set via build tool
ex.
maven {mvn test -DDRIVER=BROWSER}
PROPERTIES framework supported propery files will be used
ex. SuiteRuntimeProperty.properties. iOSCapabilities.properties, BrowserCapabilities.properties, AndroidCapabilities.properties
Precedence will be given to ENVIRONMENT > PARAMETER > PROPERTIES
ENVIRONMENT variable can be set via CI tool ex. Jenkins {Inject env variable in build process} GitLab {GitLab variables} Code {Java - System.setenv()} PARAMETER variable can be set via build tool ex. maven {mvn test -DDRIVER=BROWSER} PROPERTIES framework supported propery files will be used ex. SuiteRuntimeProperty.properties. iOSCapabilities.properties, BrowserCapabilities.properties, AndroidCapabilities.properties