Groups
Groups
Sign in
Groups
Groups
robotframework-users
Conversations
About
Send feedback
Help
Can I Use Multiple Conditions for "Run Keyword If" Keyword....?
8,958 views
Skip to first unread message
Ajit Jadhav
unread,
Dec 23, 2014, 12:04:56 AM
12/23/14
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 robotframe...@googlegroups.com
Hi All,
Can I Use Multiple Conditions for "Run Keyword If" Keyword ?
Please Help.
Thanks,
Ajit.
Laurent Bristiel
unread,
Dec 23, 2014, 4:44:39 AM
12/23/14
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 robotframe...@googlegroups.com
yes, you can build complex conditions with "and" and "or" like:
Run Keyword If (cond1 or cond2) and (value < max) mykeyword_to_execute.
Laurent
komodospider
unread,
Jan 3, 2015, 9:01:31 AM
1/3/15
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 robotframe...@googlegroups.com
Hi Ajit, I found an example by Laurent on SO that makes his reply clearer.
http://stackoverflow.com/questions/23863264/how-to-write-multiple-conditions-of-if-else-in-robot-framework
On Tuesday, December 23, 2014 6:04:56 AM UTC+1, Ajit Jadhav wrote:
Ajit Jadhav
unread,
Jan 6, 2015, 1:36:16 AM
1/6/15
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 robotframe...@googlegroups.com
Yeah,
This is working fine Now.
Thanks.
Reply all
Reply to author
Forward
0 new messages