How to use decorators and generators and iterators in Robot framework
544 views
Skip to first unread message
mahesh yadav
unread,
Jul 3, 2018, 1:04:45 AM7/3/18
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
Hi Experts,
I recently shifted to robot framework but i don't know how to use decorators and generators and iterators in robot framework.
Please give me with examples. I hope it will more useful for me.
Regards,
Mahesh.Dasari
Pekka Klärck
unread,
Jul 3, 2018, 8:12:11 AM7/3/18
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 mahi...@gmail.com, robotframework-users
Hi,
You'd use these features in your libraries where their usage doesn't
really differ from using them in Python code in general. One thing to
remember is that if you decorate functions becoming keywords, you need
to make sure the decorator preserves the signature or otherwise Robot
cannot see it correctly. For a bit more details see
http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#using-decorators