Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Appending to list only returning values if previous page element interaction

11 views
Skip to first unread message

Max Russell

unread,
Jun 5, 2019, 5:19:17 AM6/5/19
to Selenium Users
In a test I've written (Robot Framework and Selenium), I'm trying to get a values from a row and append them to a list for later use:

${highlight}=     Get Web Element    css:BLAH
# Highlight is a little interaction to highlight on screen while debugging.
Highlight    ${highlight}

${lowtablevalues}=    Create List
${low_value_1}=    Get Text    css:BLAH

Log    ${lowtablevalues}


If I run the test with the Highlight step, the list with values is returned.
If I comment out that step, an empty list is returned.

Is there something else I'd need to do when creating the list?
Reply all
Reply to author
Forward
0 new messages