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
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
What are the Application Functions available in QTP?
Define Canvas view of UFT?
Where to use function or action?
When to use descriptive programming?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
how to prepared for first for the first interview?
what is the latest version of QTP? Main difference between 9.2 and 10 version
please any one can explain the keyword driven framework. with gmail example.
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
What are the various automation frameworks available in qtp?
What is synchronization point in QTP?
Explain the features and benefits of quick test pro(qtp)?
What is the difference between analog and low level recording?