How can we test an XML using QTP?
I have been to an interview, where they have given me an
XML which had 15 values and they have given those values on
a separate page. They asked me to write a QTP script to
check the XML is having those particular 15 values.
Answer Posted / mats
You can test xml using xml nodes.
First you need to create xml object.
Set xmlobj=Createobject("Microsoft.xmldom")
Once the object is created you need to know how many nodes
are there in xml file.
Accordingly we need to specify the xml node path and
retrieve the values.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are benefits of qtp?
how to prepared for first for the first interview?
How to start recording using quicktest professional (qtp)?
I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?
what is description object?
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
How to remove associated function library?
How to add verification steps to tests?
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
How many scripts did you have?
How do you convert manual test cases to automated test cases?
what is error and fault in terms of software quality?
How to capture all the data of a webtable, weblist and combolist using QTP?
What are the main differences of qtp and win runner?
What are the different recording modes and how do they work?