Skip to content

Configuration file

Julien Gidel edited this page Mar 27, 2021 · 9 revisions

Structure

This is the detailed configuration file structure :

#Root node
automate: 
  browser:
    #Is required and should not be empty
    default: chrome 
  drivers:
    #Where your browser driver is stored
    #Absolute path is prefered
    chrome:
      #Is required and represent the path to the ChromeDriver itself
      driver : '/.../chromedriver' 
    firefox:
      driver: '/.../gueckodriver'
  scenario:
    #Is required and represent the path to the directory where all scenarios are stored
    folder: '/.../scenario'
  specs:
    #Is required and represent the path to the directory where all specs are stored
    folder: '/.../specs'
  logs:
    #Set to true if you want AutoMate to generate log files (Wins/Fails)
    enable: false
    #Is required and represent the path to the directory where all logs should be stored
    folder: '/.../logs'
  pages:
    #Is required and represent the path to the directory where all your pages are stored
    folder: '/.../pages'
  #Only required if you use logics
  logics:
    #Should detail all namespaces where your Logics are stored
    namespaces:
      logics: 'MyNamespace\Logics'
      others: 'MyOtherNamespace\Another\Logics'
    #When using Logics, this defined the value when executor gets an Exception. Default value is false
    valueAtException: false
Clone this wiki locally