jrobotremoteserver
jrobotremoteserver copied to clipboard
Complex object from library returned as string
When running basic test like this:
Get Google
Create Session google ${sessionURL}
${resp} Get Request google /
Should Be Equal As Strings ${resp.status_code} 200
Log ${resp.content}
Using HttpRequestLibrary remotely with jrobotremoteserver 4.0.1 I'm getting error:
Jython runner: Resolving variable '${resp.status_code}' failed: AttributeError: 'unicode' object has no attribute 'status_code'
Python 3 runner: Resolving variable '${resp.status_code}' failed: AttributeError: 'str' object has no attribute 'status_code'
Seems that there's some type conversion done incorrectly at the response handling.