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
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
Is it possible to use two instances of UFT on the same machine? If not why?
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
Can anybody post some real time scenario in qtp? please its very urgent.
what are the limitations of smart identification in qtp 9.0
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
What is checkpoints for qtp?
Difference between copy to action and call to action?
What is throw object?
What is data driver in qtp? Where we use it?
how to test Web application using QTP software
Why is Client side image is preferred over server side image?
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?