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 |
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
Can Any One Write How to Write the Script for Child Objects
Hi guys can any plz help me how to send fax in sample Flight Appication
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
On what basis we select test cases to automate?
I need diffrences between Object Identification, Smart Identification, Regular expresion,Low-Level Recording (enables you to record on any object in your application, whether or not QuickTest recognizes the specific object or the specific operation.) I am working on Web Application. In that object caption will change dynamically. For example, consider “Save” button. On clicking save button the caption changing as “ EDIT ”. From above concept which concept I have to use here?
what is the difference between action and function
11 Answers AppLabs, BirlaSoft, Infosys,
What is checking bitmaps?
how to get the object property
How to give Table check points?
How you perform smoke and sanity testing using qtp?
How many types of parameters are there?