Robot Framework Tutorial #39 - How to use FOR Loop in Robot Framework

preview_player
Показать описание
In this Robot Framework Tutorial we will understand how to use FOR Loop in robot framework.

Few key points to remember about FOR loop are:
* Loops allow us to iterate over a sequence
* You can use Loops to - Loop through a list of elements, Repeat a single keyword several times, Loop through range of numbers (1-10)
* Loops in Robot Framework begin with "FOR"
* Example:

FOR ${var} IN @{list}
Keyword ${var}
END

Help me in spreading the knowledge, please hit LIKE, SHARE and SUBSCRIBE for latest tutorials. More tutorial playlists below:

❖ TRAININGS ON RCV ACADEMY PORTAL ❖

❖ FOLLOW US ON TWITTER ❖

❖ LIKE US ON FACEBOOK ❖

❖ OUR TUTORIAL WEBSITES ❖

❖ GET MY TRAININGS ON UDEMY ❖
#RobotFrameworkTutorial #RobotFramework #TestAutomation #SeleniumTutorial #SeleniumWebDriver #SoftwareTesting #RcvAcademy #SoftwareTestingMentor
Рекомендации по теме
Комментарии
Автор

Keyword definition not found (for the keywords you provided in your tutorial), although I implemented the SeleniumLibrary.

.c
Автор

What is the xpath provided in get webelements?

bsksunil
Автор

${element} needs to be defined before using it in the FOR loop, sir plz clarify as am not able to see ${element} defined any where

indanjani
Автор

How do I transfer a variable from robot file and put it in .py file? I want to test connection on a range of ports and I need to move the robot variable with that range to Telnet('na-robot.ddns.net', x) each time robot loops.

jonaszprzybycien
visit shbcf.ru