For Loop in Selenium Robot Framework

Yogi

I need your expertise to help me implement "for loop" in selenium robot framework. There is a variable which was converted as a set of three values. We need to verify existence of each value from this set with a table row. Can you please advice some solution. I used following for loop: ${list} is a set of following three variable ['1xxx','2xxx','3xxx']

    :FOR    ${rows}      IN     ${list}
            ${row}=      Verify Table Row Info      table_xpath     ${rows}

I thought the above code will verify one item at a time with table row values, instead it is taking entire set of values to compare with table row values.

Bryan Oakley

Use @{list} instead of ${list}:

:FOR    ${rows}      IN     @{list}
        ${row}=      Verify Table Row Info      table_xpath     ${rows}

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Loop in loop robot framework

From Dev

Include a loop in a loop in Robot Framework

From Dev

Place a condition on a for loop in robot framework

From Dev

How to click on an element in Robot Framework Selenium

From Dev

Robot Framework, integrating custom keywords with Selenium2Library

From Dev

How to read the web console output with robot framework and selenium?

From Dev

How to read the web console output with robot framework and selenium?

From Dev

Can I get the Ajax json response data in selenium robot framework

From Dev

Robot framework doesn't see environment variable selenium_jar

From Dev

How to click on an element (html tag) in Robot Framework Selenium

From Dev

For loop gives all the list instead of one item in robot framework

From Dev

How to write If statement and For loop programatically with Robot Framework API

From Dev

Check whether image file exists, Robot-Framework, Selenium2Library

From Dev

Robot Framework: How to make Wait until keyword from selenium library return true or false

From Dev

how to count number of td/tr in a table with Robot Framework using Selenium2Library

From Dev

How can I get the text node of an element in robot framework with selenium2library?

From Dev

Test an application behind a proxy server using Robot Framework and Selenium2Library

From Dev

robot framework - any alternative to Selenium2Library's "Input Text" for entering text into text fields?

From Dev

Error " Exception AttributeError: "'Service' object has no attribute 'process'" " of selenium with Robot framework

From Dev

How do you configure your Chrome Browser to pass through a proxy in Selenium2Library of Robot Framework?

From Dev

RED Robot Framework Editor - Unexpected error: NoClassDefFoundError: com/github/markusbernhardt/selenium2library/utils/WebDriverCache

From Dev

Unable to use Selenium2Library in Robot Framework. ImportError: No module named Selenium2Library error

From Dev

Robot Framework Download File

From Dev

Installing AutoIt for Robot framework

From Dev

Robot Framework and Django

From Dev

If Else-if in Robot Framework

From Dev

Is Robot Framework stateful or stateless?

From Dev

robot framework: exception handling

From Dev

Robot Framework string padding

Related Related

  1. 1

    Loop in loop robot framework

  2. 2

    Include a loop in a loop in Robot Framework

  3. 3

    Place a condition on a for loop in robot framework

  4. 4

    How to click on an element in Robot Framework Selenium

  5. 5

    Robot Framework, integrating custom keywords with Selenium2Library

  6. 6

    How to read the web console output with robot framework and selenium?

  7. 7

    How to read the web console output with robot framework and selenium?

  8. 8

    Can I get the Ajax json response data in selenium robot framework

  9. 9

    Robot framework doesn't see environment variable selenium_jar

  10. 10

    How to click on an element (html tag) in Robot Framework Selenium

  11. 11

    For loop gives all the list instead of one item in robot framework

  12. 12

    How to write If statement and For loop programatically with Robot Framework API

  13. 13

    Check whether image file exists, Robot-Framework, Selenium2Library

  14. 14

    Robot Framework: How to make Wait until keyword from selenium library return true or false

  15. 15

    how to count number of td/tr in a table with Robot Framework using Selenium2Library

  16. 16

    How can I get the text node of an element in robot framework with selenium2library?

  17. 17

    Test an application behind a proxy server using Robot Framework and Selenium2Library

  18. 18

    robot framework - any alternative to Selenium2Library's "Input Text" for entering text into text fields?

  19. 19

    Error " Exception AttributeError: "'Service' object has no attribute 'process'" " of selenium with Robot framework

  20. 20

    How do you configure your Chrome Browser to pass through a proxy in Selenium2Library of Robot Framework?

  21. 21

    RED Robot Framework Editor - Unexpected error: NoClassDefFoundError: com/github/markusbernhardt/selenium2library/utils/WebDriverCache

  22. 22

    Unable to use Selenium2Library in Robot Framework. ImportError: No module named Selenium2Library error

  23. 23

    Robot Framework Download File

  24. 24

    Installing AutoIt for Robot framework

  25. 25

    Robot Framework and Django

  26. 26

    If Else-if in Robot Framework

  27. 27

    Is Robot Framework stateful or stateless?

  28. 28

    robot framework: exception handling

  29. 29

    Robot Framework string padding

HotTag

Archive