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
Is any limitation to xml checkpoints?
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
What is the Command used to start the QTP
What is the difference between local and shared object repository in qtp?
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
Hi ,Can any one pleas explain how to test splash objects using QTP?
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
What are the automation metrice in your project?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
What is difference in global and action sheet in qtp?
Where is the Bitmap checkpoint information stored?
How to check bitmap output value?
If I change the property value at runtime is it effect is object repository?
What are the steps involved in recovery scenario wizard?
Do you know how to connect database? Can you tell me the procedures?