Skip to content

Commit

Permalink
add example of Debug If
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb committed May 17, 2020
1 parent 5094a9a commit 3118b7c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Usage
-----

You can use this as a library, import ``DebugLibrary`` and call ``Debug``
keyword in your test files like this::
or ``Debug If`` keywords in your test files like this::

*** Settings ***
Library DebugLibrary
Expand All @@ -65,6 +65,9 @@ keyword in your test files like this::
SOME TEST
# some keywords...
Debug
# some else...
${count} = Get Element Count name:div_name
Debug If ${count} < 1

Or you can run it standalone as a ``RobotFramework`` shell::

Expand Down

0 comments on commit 3118b7c

Please sign in to comment.