Nishrin Trunkwala
Nishrin Trunkwala

Reputation: 119

Get json field values from a response when using robotframework

The response I was talking about illustrated here I need to capture json responses from a test setup using robotframework.
Up-till now I have not seen a way to do that in the stack.
Anyone have ideas regarding the same

Upvotes: 0

Views: 713

Answers (1)

alpert
alpert

Reputation: 4655

You can use that library: robotframework-requests

You can do something like:

Create Session  url     http://192.168.1.105
${resp}=    Get Request     url     manage?k=XXXX
// then use ${resp.json()}

Upvotes: 2

Related Questions