innovativeQALab / iqa-automation-framework

Selenium WebDriver and Appium based Web, Mobile (Android, iOS) and Windows desktop Automation Framework with BDD & Non-BDD implementation support
Apache License 2.0
12 stars 4 forks source link

Refractor code to handle Env, Parameter and properties #22

Closed innovativeQALab closed 2 years ago

innovativeQALab commented 2 years ago

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