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
How will you report the bug and explain the defect tracking sheet you handled?
terminal services client
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
How to attach a file to TD?
How does qtp identify the object in the application?
what is object and child object.. explain ..if possible give some example for better understanding ..
desribe a situation where u faced a stressful situation and how did u cope with it
how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
Explain the Different types of QTP test assets and their extensions?
Explain advantages and disadvantages kdf?
How to find the difference between 2 dates in qtp?
What are the five challenges you faced in QTP?