Skip to content

Commit 7edf037

Browse files
committed
fixed #54, User Keywords now can also define argument types.
1 parent 5a50e7f commit 7edf037

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/docs/chapter-02/05_keyword_interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ Understand the concept of argument types and automatic type conversion.
362362

363363
::::
364364

365-
Library Keywords may define the expected types of their argument values.
365+
Keywords may define the expected types of their argument values.
366366
The Robot Framework specification is predominantly a string-based language, therefore most statically defined argument values are strings.
367367
However, the actual implementation of the keyword may expect a different type of argument, like an integer.
368368

website/docs/chapter-03/03_user_keyword.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ See also Chapter 2 [2.5.2 Keyword Arguments](chapter-02/05_keyword_interface.md#
161161

162162
Arguments are defined by `[Arguments]` followed by the argument names separated by multiple spaces in the syntax of scalar variables.
163163

164-
Unlike Library Keywords, User Keywords cannot define argument types like `string`, `number`, etc., as described in the [2.5.2.8 Argument Types](chapter-02/05_keyword_interface.md#2528-argument-types) section.
164+
Since Robot Framework 7.3 User Keywords can define argument types like `string`, `number`, etc., as described in the [2.5.2.8 Argument Types](chapter-02/05_keyword_interface.md#2528-argument-types) section.
165165

166166

167167
### 3.3.5.1 Defining Mandatory Arguments

0 commit comments

Comments
 (0)