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 synchronization? What are the ways you can synchronize?
How to associate shared object repository to test in qtp?
How to handle the exceptions using recovery secnario manager in quicktest professional?
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?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
Differences between text and test area checkpoints?
What is qtpro? What is quick test pro?
how to post xml data from QTP scripts to any application?
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
Give the syntax to import/export xls into qtp.
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
How do I get the QTP scripts result in xml format by using vb script function?
What is the basic concept of quicktest professional (qtp)?
Hi, how can we check or avoid the memory leakage in QTP9.2?
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?