Update CONTRIBUTING.md with latest robot directives
Changes:
- Run KeyWord If is deprecated since Robot
Framework version 5.*, use 'IF' instead
Tested:
- NA
Change-Id: I2f72d138c6e8d2a246b231c3daa3033985c8a045
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 3b7cfd1..273aced 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -54,11 +54,12 @@
```
- When you wish to indent if/else or loop bodies for visual effect:
```
- Run Keyword If '${this}' == '${that}'
- ... Log Bla, bla...
- ... ELSE
- ... Run Keywords Key1 parms
- ... AND Key2 parms
+ IF '${this}' == '${that}'
+ Log Bla, bla...
+ ELSE
+ Run Keywords Key1 parms
+ ... AND Key2 parms
+ END
```
- Use single spaces to make conditions more readable:
@@ -66,13 +67,13 @@
Correct example:
```
- Run Keyword If '${var1}' == '${0}' My Keyword
+ IF '${var1}' == '${0}' My Keyword
```
Incorrect example:
```
- Run Keyword If '${var1}'=='${0}' My Keyword
+ IF '${var1}'=='${0}' My Keyword
```
- When you define or call a Robot keyword, Robot pays no attention to spaces,