How to retrive XML file data in QTP ? using Script(Chandana)

Answer Posted / fayaz

We can load environment variables from an xml file.

File --> Settings and click the "Environment" tab

You can see a check box "Load environment variables "

check it and give the path of the xml file.

when u run QTP , the variables in XML file will be
available.
And you can retrieve those values using Environment.value
("variable_name") from any actions.


Hope this will answer your question

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I get the QTP scripts result in xml format by using vb script function?

1799


What are the trigger events in qtp?

587


How to customize checkpoints with parameters?

3033


Explain how you can replace string in qtp?

618


What is ‘object spy’ and what is the function of object spy in qtp?

587






There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

1638


How can i initiate the objects to find uniquely in OR

1486


Step 3&4 are repeated until an the object in recognised uniquely.

1541


How to record application running on the Virtual machine?

650


In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.

1545


How to save your test using quicktest professional?

552


What is the architecture of your project? Can any one answer for this question plz........

1426


What is the virtual object?

659


if anyone has idea of the interview procedure in covansys, plz send me a mail?

1538


Hello friends..... On which areas of an application we can not test with QTP

1573