Skip to content

Commit e1b311f

Browse files
committed
BuiltIn: Note to Run Keyword If about new IF/ELSE support.
1 parent fcc649e commit e1b311f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/robot/libraries/BuiltIn.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1844,6 +1844,9 @@ def _resolve_run_keywords_name_and_args(self, kw_call):
18441844
def run_keyword_if(self, condition, name, *args):
18451845
"""Runs the given keyword with the given arguments, if ``condition`` is true.
18461846
1847+
*NOTE:* Robot Framework 4.0 introduced built-in IF/ELSE support and using
1848+
that is generally recommended over using this keyword.
1849+
18471850
The given ``condition`` is evaluated in Python as explained in
18481851
`Evaluating expressions`, and ``name`` and ``*args`` have same
18491852
semantics as with `Run Keyword`.

0 commit comments

Comments
 (0)