Groups
Groups
Sign in
Groups
Groups
robotframework-users
Conversations
About
Send feedback
Help
How can i Modify Yaml file from Robot Framework
437 views
Skip to first unread message
supriya s
unread,
Nov 26, 2020, 8:17:12 AM
11/26/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to robotframework-users
I want to update yaml file .Is there any library or keyword which supports updating yaml file.
Dave Amies
unread,
Nov 28, 2020, 9:11:42 PM
11/28/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to robotframework-users
well at a basic level a yaml file is just a text file
so with the builtin libraries OperatingSystem and String you should be able to make all the manipulations you need:
http://robotframework.org/robotframework/latest/libraries/OperatingSystem.html
http://robotframework.org/robotframework/latest/libraries/String.html
Beyond that with a quick google search, these were the first two results that looks like they had potential (both look like they can be installed with pip) but i've not used either of these:
https://github.com/divfor/robotframework-yamllibrary
http://graziadamico.altervista.org/robotframework/YamlLib.html
Hope that helps,
Dave.
Reply all
Reply to author
Forward
0 new messages