how to execute a loop in a loop in Robot Framework [duplicate]
This question already has an answer here:
Nested loop in RobotFramework
3 answers
An example of what I need: I have a list of dropdown box and each of the dropdown has 'n' numbers of list of items. I have to verify that all the drop down items are clickable in all the dropdowns box.
robotframework
marked as duplicate by Bryan Oakley
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Nov 14 '18 at 15:33
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Nested loop in RobotFramework
3 answers
An example of what I need: I have a list of dropdown box and each of the dropdown has 'n' numbers of list of items. I have to verify that all the drop down items are clickable in all the dropdowns box.
robotframework
marked as duplicate by Bryan Oakley
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Nov 14 '18 at 15:33
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Given that you've created a new question it might be good to remove this one.
– A. Kootstra
Nov 14 '18 at 18:43
add a comment |
This question already has an answer here:
Nested loop in RobotFramework
3 answers
An example of what I need: I have a list of dropdown box and each of the dropdown has 'n' numbers of list of items. I have to verify that all the drop down items are clickable in all the dropdowns box.
robotframework
This question already has an answer here:
Nested loop in RobotFramework
3 answers
An example of what I need: I have a list of dropdown box and each of the dropdown has 'n' numbers of list of items. I have to verify that all the drop down items are clickable in all the dropdowns box.
This question already has an answer here:
Nested loop in RobotFramework
3 answers
robotframework
robotframework
asked Nov 14 '18 at 10:08
VenkateshVenkatesh
375
375
marked as duplicate by Bryan Oakley
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Nov 14 '18 at 15:33
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Bryan Oakley
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Nov 14 '18 at 15:33
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Given that you've created a new question it might be good to remove this one.
– A. Kootstra
Nov 14 '18 at 18:43
add a comment |
Given that you've created a new question it might be good to remove this one.
– A. Kootstra
Nov 14 '18 at 18:43
Given that you've created a new question it might be good to remove this one.
– A. Kootstra
Nov 14 '18 at 18:43
Given that you've created a new question it might be good to remove this one.
– A. Kootstra
Nov 14 '18 at 18:43
add a comment |
2 Answers
2
active
oldest
votes
You can put a loop inside a keyword. Then in another the loop, call that keyword
Some thing like this
*** Test Cases ***
Run Test
:FOR $i IN $List
Keyword A
*** Keywords ***
Keyword A
# do your loop here
add a comment |
*** Test Cases ***
Test Case
@list= Create List
$dbvalues= SQL Query
:FOR $variable IN dbvalues
$Value= Test Step1 $variable
..........
.........
Append To list $list $Value
4
Welcome to StackOverflow! Your answer need more explanation about how the code works to be a good answer.
– Foo
Nov 14 '18 at 11:05
1
This example doesn't show a "loop in a loop", and doesn't contain any explanation of why there is no second loop.
– Bryan Oakley
Nov 14 '18 at 15:32
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can put a loop inside a keyword. Then in another the loop, call that keyword
Some thing like this
*** Test Cases ***
Run Test
:FOR $i IN $List
Keyword A
*** Keywords ***
Keyword A
# do your loop here
add a comment |
You can put a loop inside a keyword. Then in another the loop, call that keyword
Some thing like this
*** Test Cases ***
Run Test
:FOR $i IN $List
Keyword A
*** Keywords ***
Keyword A
# do your loop here
add a comment |
You can put a loop inside a keyword. Then in another the loop, call that keyword
Some thing like this
*** Test Cases ***
Run Test
:FOR $i IN $List
Keyword A
*** Keywords ***
Keyword A
# do your loop here
You can put a loop inside a keyword. Then in another the loop, call that keyword
Some thing like this
*** Test Cases ***
Run Test
:FOR $i IN $List
Keyword A
*** Keywords ***
Keyword A
# do your loop here
answered Nov 14 '18 at 10:16
thanh lethanh le
1796
1796
add a comment |
add a comment |
*** Test Cases ***
Test Case
@list= Create List
$dbvalues= SQL Query
:FOR $variable IN dbvalues
$Value= Test Step1 $variable
..........
.........
Append To list $list $Value
4
Welcome to StackOverflow! Your answer need more explanation about how the code works to be a good answer.
– Foo
Nov 14 '18 at 11:05
1
This example doesn't show a "loop in a loop", and doesn't contain any explanation of why there is no second loop.
– Bryan Oakley
Nov 14 '18 at 15:32
add a comment |
*** Test Cases ***
Test Case
@list= Create List
$dbvalues= SQL Query
:FOR $variable IN dbvalues
$Value= Test Step1 $variable
..........
.........
Append To list $list $Value
4
Welcome to StackOverflow! Your answer need more explanation about how the code works to be a good answer.
– Foo
Nov 14 '18 at 11:05
1
This example doesn't show a "loop in a loop", and doesn't contain any explanation of why there is no second loop.
– Bryan Oakley
Nov 14 '18 at 15:32
add a comment |
*** Test Cases ***
Test Case
@list= Create List
$dbvalues= SQL Query
:FOR $variable IN dbvalues
$Value= Test Step1 $variable
..........
.........
Append To list $list $Value
*** Test Cases ***
Test Case
@list= Create List
$dbvalues= SQL Query
:FOR $variable IN dbvalues
$Value= Test Step1 $variable
..........
.........
Append To list $list $Value
answered Nov 14 '18 at 11:01
Batchu BhargavaBatchu Bhargava
374
374
4
Welcome to StackOverflow! Your answer need more explanation about how the code works to be a good answer.
– Foo
Nov 14 '18 at 11:05
1
This example doesn't show a "loop in a loop", and doesn't contain any explanation of why there is no second loop.
– Bryan Oakley
Nov 14 '18 at 15:32
add a comment |
4
Welcome to StackOverflow! Your answer need more explanation about how the code works to be a good answer.
– Foo
Nov 14 '18 at 11:05
1
This example doesn't show a "loop in a loop", and doesn't contain any explanation of why there is no second loop.
– Bryan Oakley
Nov 14 '18 at 15:32
4
4
Welcome to StackOverflow! Your answer need more explanation about how the code works to be a good answer.
– Foo
Nov 14 '18 at 11:05
Welcome to StackOverflow! Your answer need more explanation about how the code works to be a good answer.
– Foo
Nov 14 '18 at 11:05
1
1
This example doesn't show a "loop in a loop", and doesn't contain any explanation of why there is no second loop.
– Bryan Oakley
Nov 14 '18 at 15:32
This example doesn't show a "loop in a loop", and doesn't contain any explanation of why there is no second loop.
– Bryan Oakley
Nov 14 '18 at 15:32
add a comment |
Given that you've created a new question it might be good to remove this one.
– A. Kootstra
Nov 14 '18 at 18:43