{"action":"closed","issue":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/2024","labels_url":"https://api.github.com/repos/robotframework/robotframework/issues/2024/labels{/name}","comments_url":"https://api.github.com/repos/robotframework/robotframework/issues/2024/comments","events_url":"https://api.github.com/repos/robotframework/robotframework/issues/2024/events","html_url":"https://github.com/robotframework/robotframework/issues/2024","id":88705881,"number":2024,"title":"Extended variable syntax failures not caught by \"wait until keywords succeeds\"","user":{"login":"laurentbristiel","id":4035242,"avatar_url":"https://avatars.githubusercontent.com/u/4035242?v=3","gravatar_id":"","url":"https://api.github.com/users/laurentbristiel","html_url":"https://github.com/laurentbristiel","followers_url":"https://api.github.com/users/laurentbristiel/followers","following_url":"https://api.github.com/users/laurentbristiel/following{/other_user}","gists_url":"https://api.github.com/users/laurentbristiel/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentbristiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentbristiel/subscriptions","organizations_url":"https://api.github.com/users/laurentbristiel/orgs","repos_url":"https://api.github.com/users/laurentbristiel/repos","events_url":"https://api.github.com/users/laurentbristiel/events{/privacy}","received_events_url":"https://api.github.com/users/laurentbristiel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robotframework/robotframework/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-16T11:58:39Z","updated_at":"2015-06-17T07:25:21Z","closed_at":"2015-06-17T07:25:21Z","body":"Extended variable syntax is [described in the user guide](http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#extended-variable-syntax)\r\nIt allows, for example, to access an element from a list with ${list[2]}.\r\nDoc says that \"If the evaluation fails because of an invalid syntax or that the queried attribute does not exist, an exception is raised and the test fails.\"\r\nI expected that this failure could be caught by \"Wait until keywords succeeds\", but it does not seem to be the case.\r\nIs that a bug in Robot? Or should we make the doc clearer?\r\n\r\nHere is an example to illustrate the problem:\r\n\r\n```robotframework\r\n*** Settings ***\r\nLibrary  Collections\r\n\r\n*** Test Cases ***\r\nbasic variable syntax\r\n    ${list} =  create list  first  second\r\n    # we will actually call following statement several times during 10 seconds\r\n    wait until keyword succeeds  10s  1s  get_third_element_from_list  ${list}\r\n\r\nadvanced variable syntax\r\n    ${list} =  create list  first  second\r\n    # we will run following statement only once\r\n    # ${list[2]} failure is caught globally by the test but not locally by WUKS\r\n    wait until keyword succeeds  10s  1s  log  ${list[2]}\r\n      \r\n*** Keywords ***\r\nget_third_element_from_list\r\n    [Arguments]  ${list}\r\n    get from list  ${list}  2\r\n```"}}