Updates:
        Summary: Nested for loop syntax

Comment #2 on issue 1471 by pekka.klarck: Nested for loop syntax
http://code.google.com/p/robotframework/issues/detail?id=1471

Here's an example how to handle nested loops with user keywords:

*** Test Cases ***
Nested for loop example
    : FOR    ${x}    IN    1    2    3  
    \    Keyword with for loop    ${x}

*** Keywords ***
Keyword with for loop
    [Arguments]    ${x}
    :FOR    ${y}    IN    1    2    3
    \    Another keyword with loop    ${x}    ${y}

Another keyword with loop
    [Arguments]    ${x}    ${y}
    :FOR    ${z}    IN    1    2    3
    \    Log    ${x}.${y}.${z}


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to