Verify Element Count
[Arguments] ${URI} ${xpath_location} ${expected_count}
${resp} RequestsLibrary.Get Request session ${REST_CONTEXT} headers=${ACCEPT_XML}
- Log ${resp.content}
+ Log ${resp.text}
Should Be Equal As Strings ${resp.status_code} 200
- ${count}= Get Element Count ${resp.content} xpath=${xpath_location}
+ ${count}= Get Element Count ${resp.text} xpath=${xpath_location}
Should Be Equal As Numbers ${count} ${expected_count}