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
What is post recovery scenario?
Explain the concept of object repository and how qtp recognises objects?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
How to run a test using quicktest professional (qtp)?
Hi Samrat, Thank u very much, what u said it is right.
What is Associate Repository in QTP 9.2 ?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
when will you do debug your script? and explain that process?
What are test settings and global settings?
How can we conduct U-I Testing by using QTP??????
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
How can I change object description or check point values in qtp?
Which environments are supported by hp qtp?
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,