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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to export quicktest professional (qtp) results to an .xls file?

819


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

4061


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

1755


How to start recording using quicktest professional (qtp)?

810


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

757


What is method name to compare two XML files.

1742


is it possible to add sheets to excel at runtime

3627


Does quicktest professional is unicode compatible?

701


What is text check point and text area check point?

849


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

1765


Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

1855


Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

3642


A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.

1505


What is the standard timing delay for web based application in qtp?

840


How you are developing the script? Using record and play back or manual?

811