Loading GenericKeywords.robot +4 −3 Original line number Diff line number Diff line Loading @@ -24,9 +24,10 @@ Check HTTP Response Body Json Schema Is Should Be Present In Json List [Arguments] ${expr} ${json_field} ${json_value} Log Check if ${json_field} is present in ${expr} with the value ${json_value} :FOR ${item} IN @{expr} \ ${are_equal}= Should Be Equal As Strings ${item["${json_field}"]} ${json_value} \ Exit For Loop If ${are_equal} FOR ${item} IN @{expr} ${are_equal}= Should Be Equal As Strings ${item["${json_field}"]} ${json_value} Exit For Loop If ${are_equal} END Log Item found ${item} [return] ${item} Loading Loading
GenericKeywords.robot +4 −3 Original line number Diff line number Diff line Loading @@ -24,9 +24,10 @@ Check HTTP Response Body Json Schema Is Should Be Present In Json List [Arguments] ${expr} ${json_field} ${json_value} Log Check if ${json_field} is present in ${expr} with the value ${json_value} :FOR ${item} IN @{expr} \ ${are_equal}= Should Be Equal As Strings ${item["${json_field}"]} ${json_value} \ Exit For Loop If ${are_equal} FOR ${item} IN @{expr} ${are_equal}= Should Be Equal As Strings ${item["${json_field}"]} ${json_value} Exit For Loop If ${are_equal} END Log Item found ${item} [return] ${item} Loading