Votes
Answers
Views
Question
2
1
54
Tags:
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
1
123
asked 7 years ago by pumpkin
updated 7 years ago by bubblehead712
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
1
96
asked 8 years ago by neena
updated 8 years ago by bubblehead712
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?
0
3
263
asked 9 years ago by kaptainkayoss
updated 9 years ago by rich-text
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
1
153
asked 9 years ago by gem
updated 9 years ago by bubblehead712
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 ...
0
1
403
asked 9 years ago by The Danny
updated 9 years ago by Captain Mercury
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...
1
1
36
asked 12 years ago by candyb
updated 12 years ago by DavidMofOSI
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 ...
1
1
58
asked 12 years ago by candyb
updated 12 years ago by DavidMofOSI
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...
8
1
38
asked 13 years ago by hank-the-hammer
updated 13 years ago by bubblehead712
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() ...