Votes
Answers
Views
Question
0
votes
1
answer
352
views
asked 8 years ago by
updated 8 years ago by
My request to my web service is done in an HTTP Activity in UFT-API script. I am loading a JSON file for the body of the request and I need to programatically set a value of a particular node on the fly (based on a previously returned value, but that part is irrelevant). How do I identify the elemen...
0
votes
3
answers
204
views
asked 8 years ago by
updated 8 years ago by
I'm trying to work with an XML file in UFT, but I don't want to just do a checkpoint. What can I do to be able to open an XML file and read in data from tags if I want. Again...not just do a checkpoint?
0
votes
1
answer
129
views
asked 8 years ago by
updated 8 years ago by
I have a web page with a list of entries, and each entry is a div with class 'feedEntryContent' and includes an unordered list. I am trying to grab the information in the second list item in each and use these as query parameters in the application. The page that I am trying to parse is an RSS feed ...
1
vote
1
answer
101
views
asked 6 years ago by
updated 6 years ago by
I have a API test that is returning a XML array and I need to iterate of the dynamic array to validate the items in the results.
0
votes
1
answer
79
views
asked 7 years ago by
updated 7 years ago by
How can I capture a value from the XML returned, then run a SQL query against my database and compare the fields in the database record to expected results. Would I use the database functions in API testing?
1
vote
1
answer
42
views
asked 12 years ago by
updated 12 years ago by
I just updated to LR 11.51 and I'm trying to create a web services vuser by importing a WSDL. It imports OK, and I can see the input and output values, etc. My question is this: The documentation says I should be able to open the "XML Editor" by going to SOA Tools > XML Editor. Problem is, m...
2
votes
1
answer
39
views
asked 6 years ago by
updated 6 years ago by
We're using the XmlToString activity. We have an output parameter in the Start node. We have the output parameter linked to the XmlToString Result Parameter. After running the test, the report results is blank and we get the following error: System.Xml.XmlException: Unexpected XML declaration. The X...
1
vote
1
answer
30
views
asked 12 years ago by
updated 12 years ago by
I'm trying to follow the documentation for LR 11.51 and on p. 751 it mentiona the "Find XML" dialog. That page references p. 758 which says a "Find XPATH" button should be visible in the Snapshot pane. I'm in the Snapshot pane, but that button doesn't seem to be there. It used to be ...
8
votes
1
answer
29
views
asked 12 years ago by
updated 12 years ago by
I am trying to parse an XML file that is on the web but for some reason I can not load it. Does anybody know what I need to do to make this work? vPath="http://www.w3schools.com/xml/cd_catalog.xml" Set xmlObj = XMLUtil.CreateXML() print vPath xmlObj.LoadFile(vPath) vlist = xmlObj.ToString() ...
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top