how to retrieve the xml file data through qtp. can anybody
send script for this..
Answers were Sorted based on User's Feedback
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 |
Answer / aiswaryan
eg: giving input in the google search dialog box thro xml
data.
<Environment>
<Variable>
<Name>googlesearchfor</Name>
<Value>bike</Value>
</Variable>
</Environment>
add the above xml file in Test -> setting -> environmetn ->
userdefined.
go to keyword view of your recorded script (already
recorded). click the drop down button in the 'value' column
and select the environment parameter from the list.
Is This Answer Correct ? | 1 Yes | 1 No |
how you will do cookie testing using QTP?
How to analyzing test results using quicktest professional (qtp)?
How to load the object repository at run time?
What is object spy in quicktest professional (qtp)?
How to capture the tooltip of webelement,if there are two values displayed in tooltip of webelement?
tell me the script for envirnment value parameeter with an example. which situation envirnment valu parameter is used
What is your role and responsibilities in QTP with your current organization?
What is quicktest professional?
How to handle Run-time errors?
What is the difference between property and method?
How to find the path of folder in which the test is saved in qtp?
Explain about datafile/verification of date file when file is not available in local system?