I am implementing a test automation framework with using robot framework. But i couldn't manage some JSON things.. I have a robot file full of keywords (no tests), i tried to read the json file (with full of xpaths) in test setup section, but it failed.
Is it possible to read the file at the beginning of a robot file and use that object for every keyword in that list?
Current structure:
keyword 1
read json
do sth
keyword 2
read json
do sth
keyword 3
read json
do sth
What i want?
read json
keyword 1
do sth
keyword 2
do sth
keyword 3
do sth
Aucun commentaire:
Enregistrer un commentaire