jeudi 25 août 2016

Load code lines for a robot-file

I have huge robot-files. In all this files a part of the code is the same. Because of DRY I want to shorten the files and put the code to an other file. How to call this 100 robot-code lines from an other file then?

file1.robot

MyTest1
    <Content of other file>
    Some other keywords

file2.robot

MyTest2
    <Content of other file>
    Some other keywords

Other file

Log to console    1
Log to console    2
Log to console    3
Log to console    .
Log to console    .
Log to console    100

Aucun commentaire:

Enregistrer un commentaire