*** Test Cases ***
How To Access A Specific Index In A Robot Framework Collection
# Create the collection for consumption
${collection} = Create List A B C D E
# Demonstrate the use of accessing the index with assertions
Should Be Equal As Strings ${collection[0]} A
Should Be Equal As Strings ${collection[1]} B
Should Be Equal As Strings ${collection[2]} C
Should Be Equal As Strings ${collection[3]} D
Should Be Equal As Strings ${collection[4]} E
# View in log.html
Log ${collection[0]}
# View in Console Command
How To Access A Specific Index In A Robot Framework Collection
Reviewed by JJ The Engineer
on
7:48 PM
Rating:
(Y)(Y)(Y) These are GREAT info - thanks JJ!!!
ReplyDeleteI love your animes but can I suggest a "business mode" option where the wonderful pics are not displayed.
When using your wonderful blog at work doing work - it looks like I am goofing off...
Don't remove the pics - I love them... Just give me an option to hide them while at work...