{"action":"created","issue":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/2063","labels_url":"https://api.github.com/repos/robotframework/robotframework/issues/2063/labels{/name}","comments_url":"https://api.github.com/repos/robotframework/robotframework/issues/2063/comments","events_url":"https://api.github.com/repos/robotframework/robotframework/issues/2063/events","html_url":"https://github.com/robotframework/robotframework/issues/2063","id":93957504,"number":2063,"title":"RF treats next Suite Setup keywords and arguments as an argument for the first one","user":{"login":"adam-wypych","id":12131969,"avatar_url":"https://avatars.githubusercontent.com/u/12131969?v=3","gravatar_id":"","url":"https://api.github.com/users/adam-wypych","html_url":"https://github.com/adam-wypych","followers_url":"https://api.github.com/users/adam-wypych/followers","following_url":"https://api.github.com/users/adam-wypych/following{/other_user}","gists_url":"https://api.github.com/users/adam-wypych/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-wypych/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-wypych/subscriptions","organizations_url":"https://api.github.com/users/adam-wypych/orgs","repos_url":"https://api.github.com/users/adam-wypych/repos","events_url":"https://api.github.com/users/adam-wypych/events{/privacy}","received_events_url":"https://api.github.com/users/adam-wypych/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-09T05:18:35Z","updated_at":"2015-07-09T20:58:20Z","closed_at":null,"body":"I tried to get know how, what happen when in one test suite file co-exists few ```Suite Setup``` or just old version of setting name keyword executed on the very beginning of test -  ```Suite Precondition``` with new once ```Suite Setup```, see example ```RFsuite.robot``` below:\r\n```\r\n*** Settings ***\r\nSuite Setup\t\t\t\tNew \r\nSuite Setup\t\t        Old \r\n\r\n*** Test Cases ***\r\nT1\r\n\t\t\t\t\t\tLog\t\tTest\r\n\r\n*** Keywords ***\r\nNew\r\n\t\t\t\t\t\tLog\t\t\"Running new\"\r\n\r\nOld\r\n\t\t\t\t\t\tLog\t\t\"Running old\"\r\n```\r\nI expected RF will take one of behaviour: \r\n<ul>\r\n<li>that the last one declaration will be only used,</li>\r\n<li>every setting keyword in sequence how they exists in file will be executed,</li>\r\n<li>it will be an error or warning and information about problem.</li>\r\n</ul>\r\nWhat happen just supprise me - RF treat all other ```Suite Setup``` keywords and them arguments as an arguments for the first one keyword, so example above was equals to something like \r\n```\r\nSuite Setup       New    Old\r\n```\r\nAfter test run I got only information that 'Keyword 'New' expected 0 arguments, got 1', which for ensure will be valid information for \r\n```\r\nSuite Setup       New    Old\r\n```\r\nbut not for test case presented above ```RFsuite.robot```.\r\n\r\nI didn't check other similary places in Setting table: ```Suite Teardown```. ```Test Setup```, ```Test Teardown```, ```Test Precondition```, ```Test Postcondition```, ```Test Template```, ```Test Timeout``` - where it could be the same situation."},"comment":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/comments/120142243","html_url":"https://github.com/robotframework/robotframework/issues/2063#issuecomment-120142243","issue_url":"https://api.github.com/repos/robotframework/robotframework/issues/2063","id":120142243,"user":{"login":"pekkaklarck","id":114985,"avatar_url":"https://avatars.githubusercontent.com/u/114985?v=3","gravatar_id":"","url":"https://api.github.com/users/pekkaklarck","html_url":"https://github.com/pekkaklarck","followers_url":"https://api.github.com/users/pekkaklarck/followers","following_url":"https://api.github.com/users/pekkaklarck/following{/other_user}","gists_url":"https://api.github.com/users/pekkaklarck/gists{/gist_id}","starred_url":"https://api.github.com/users/pekkaklarck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pekkaklarck/subscriptions","organizations_url":"https://api.github.com/users/pekkaklarck/orgs","repos_url":"https://api.github.com/users/pekkaklarck/repos","events_url":"https://api.github.com/users/pekkaklarck/events{/privacy}","received_events_url":"https://api.github.com/users/pekkaklarck/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T20:58:20Z","updated_at":"2015-07-09T20:58:20Z","body":"If you actually want to have a setup/teardown with multiple keywords without putting them into a user keyword, you can use `Run Keywords`:\r\n\r\n    Suite Setup    Run Keywords    First    AND    Second    with    args    AND    Third"}}