Skip to content

Config file structure

Roman Pobotin edited this page Jan 24, 2018 · 2 revisions

Description of configuration files

.ini file

.ini files contains links to main resources and files. iniFile.png

config_parse.py file

config_parse.py contains variables of all resources from .ini files, which can be used in code. parseFile.png

To use any variable from config, need to import config_parse.py:

from configuration.config_parse import *

Then need to just write variable name:

self.go_to_exact_url(MAIN_UI_URL)
self.upload(GIFFILEPATH,*ClassLocator.upload_locator)