Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to retrieve the xml file data through qtp. can anybody
send script for this..

Answers were Sorted based on User's Feedback



how to retrieve the xml file data through qtp. can anybody send script for this.. ..

Answer / prasad

Using QTP output value

Is This Answer Correct ?    1 Yes 0 No

how to retrieve the xml file data through qtp. can anybody send script for this.. ..

Answer / 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

how to retrieve the xml file data through qtp. can anybody send script for this.. ..

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

Post New Answer

More QTP Interview Questions

How to capture screenshots of Exceptions/Errors during run- time?

12 Answers   Ordain Solutions,


what are the settings to be done to make the recovery scenario created for one test to be used bye all the other tests. please tell me recovery scenario process in detail.

1 Answers  


Hi, actually I completed Btech(CS). But i Will go to admin (Facility) interview. So, If Interviewer asking like " Why You choose this field". What we say? pLZ PLZ PLZ PLZ >............................................Send me.....

2 Answers  


Can you write User defined function for WebEdit ? Note1: This function can be used for all web edits in all pages Note2: Don't use Child objects method

1 Answers   IBM,


explain abt dyanamic changing object with example?

0 Answers   Wipro,


Which object repository we use in real time and can we merge 2 object repostiory and how?

3 Answers  


How can we log a defect in Testdirector from Q.T.P ?

2 Answers   EDS,


difference between GetROProperty and GetTOProperty

3 Answers   Wipro,


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

0 Answers  


Is it mandatory to know abt regular expression in descriptive programming

2 Answers  


1>why parameterization is necessary in qtp? 2>if we give constant value then what problem?

5 Answers   Wipro,


hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale

0 Answers  


Categories