Skip to content
Advertisement

Tag: ready-api

Convert ReadyAPI xpath for use in Python 3

I’m having trouble converting xpath expressions that I use in ReadyAPI for use in Python 3 with the lxml library. I’ve read the lxml documentation but I’m not getting the same results. Here’s my XML: I use the following xpath expressions in ReadyAPI: //*:Reply[*:Name=”Name of Reply”]/*:ID the expected returned result is: ID of Reply 1 and: //*:Reply[*:Name=”Name of Reply”]/*:ContentsofReply/*:Content/*:IDofContent the

Advertisement