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

Whats the realtime QTP testing process

1984


Difference between test object and run time object?

586


What are the types of environment variables in qtp?

540


Analyzing the checpoint results?

595


Without using gui map editor we can recognize the application in winrunner ?

598






What are the ordinal identifiers in web page?

628


How may types of defects identify application or your currently working application?pls give me answer..

1506


Can any suggest me what is exposure testing?

1365


What is text/text area checkpoint?

560


They asked by using qtp recording writing scripting

2063


wht type of User defined functions or Java Releated functions do we write in VB scripting

1817


diff between qtp versions from 8.5

1559


when to start the automation?

1471


What is the significance of “action 0” in qtp?

561


how did u use automating testing tools in ur job?

1479