how to retrieve the xml file data through qtp. can anybody
send script for this..
Answer Posted / mogal
Set oXML = CreateObject("Microsoft.XMLDOM")
XMLFilePath = "C:Book.xml"
oXML.Load (XMLFilePath)
Set BooksNameNode = oXML.SelectNodes("*//book/name/text()") 'Selecting all name nodes under book node
For i = 0 To (BooksNameNode.Length - 1)
BookName = BooksNameNode(i).NodeValue
MsgBox BookName
Next
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
In qtp, how you can remove the spaces from string?
Explain the check points in quicktest professional (qtp)?
What are the trigger events in qtp?
What are the flaws in water fall model and how to overcome it?
How to get popup error message.
What is qtp window?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
How to find Operating system information using QTP script?
How many types of recording modes in qtp? Describe each type with an example where we use them?
What are metrics and matrix?
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
What are the general steps involved in the data driven framework?