Snehil Mishra
Snehil Mishra

Reputation: 31

Getting argumental error for all of my keyword(s) which I want to call with Run Keywords method

Example

| Run Keywords | | ... | Borrower Enter employer and income information | ${filename} | ${row_num} | | ... | And | Borrower enters employer phone number | ${list['employerphone']} | | ... | And | Borrower Affirm Income Information

Upvotes: 0

Views: 30

Answers (2)

Todor Minakov
Todor Minakov

Reputation: 20077

The AND connector between the keywords must be in upper case - this is how the framework distinguishes it from an argument "and", "And" and other variations.

http://robotframework.org/robotframework/latest/libraries/BuiltIn.html#Run%20Keywords

Upvotes: 1

Bob
Bob

Reputation: 150

Your AND Operator seems to be in wrong position

|Run Keywords|
|...|Borrower Enter employer and income information | ${filename} | ${row_num} | And |
|...|Borrower enters employer phone number | ${list['employerphone']} | And |
|...|Borrower Affirm Income Information

Upvotes: 0

Related Questions