Search code examples
hp-uft

HP-UFT external variable : Ini or Xml file?


I want put some variables in an external file for non-software engineer maintenance. There are two way for that :

  • The old way, with a .INI file, it's look like more simple for non-dev maintenance.

  • The new way, with an XML file.

    Someone knows the advantages of the new way (XML file) ?


Solution

  • Why not a property file? XML is verbose and difficult to maintain for big projects. Property files are easy to update - non tech user can understand.

    Use a property file. I have explained here on using a property file for QTP. Sample code is available in github.