GET_REST_VALUE question - Changes on getting value after the upgrade to 8.11
Hi,
I had a get_rest_value step which was getting some the content for an XML response. In order to get the text of child nodes, I was giving the path of the parent not and it was working fine. Now, after the upgrade to 11.0, the xpath give me some extra space along with the text of child node.
Blow are details:
For below body and I want to get child nodes of <prefixes>
so I used "//prefixes" in the xpath of GET_REST_VALUE:
I see that the value get a link break on it:
This used be working fine before the upgrade as below:
Hi Joseph,
There was no code changes however on this web service so the response hasn't been changed. But from how Subject7 was displaying responses, I can't verify response of the tests before upgraded as it was in raw text format but it appears that <String> tag existed. The test just started to fail right after upgrade to 8.11.
The reason I need to used <prefixes> instead of <string> is because sometimes there are 1 <string> element and sometimes there more, so I want to be dynamic and get anything withing the <prefixes> element.
Please sign in to leave a comment.