-
Notifications
You must be signed in to change notification settings - Fork 0
Specifications
Julien Gidel edited this page Feb 22, 2021
·
2 revisions
A specification file is a CSV file that provide data to the scenario. For each line, the scenario will run and import the data line in spec variable scope.
You CSV file MUST have header if you want to use variable names in your scenario. You can find an example of this file in examples. But, this is a good specification file :
url,cookiename
http://youtube.fr,youtube
http://google.fr,google
http://github.com,github
And you can use it in your scenario like {{ spec.url }}
and {{ spec.cookiename }}
If your specification file looks like this :
http://youtube.fr,youtube
http://google.fr,google
http://github.com,github
You will have to use your variables as {{ spec.http://youtube.fr }}
and {{ spec.youtube }}
because AutoMate take the first line as variable names.
AutoMate Wiki - v0.8.0 - This wiki can change at any moment