Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
205
Unable to invoke Version control utility on Win7 64 machine
posted

Hi,

When trying to invoke Version control utility on WIn7 64 bit machine. I get the following error:

- QTP Configuration file is missing . File not found. The program will terminate.

I have tried running the Version utility as Run as Administartor option but stil encountering the same issue.

Any adivce.

Thanks

Vijay

  • 22852
    Suggested Answer
    Offline posted

    Vijay,

    The version utility works by merging in the mappings for the Record and Repay servers that TestAdvantage provides into the SwfConfig.xml file so as a workaround, you could do this manually.  Please note that you should make a backup copy of the SwfConfig.xml file before making changes to it.

    The SwfConfig.xml file in located in the "dat" subdirectory where QTP is installed.  Before merging in the contents for TestAdvantage, you will want to make sure that there aren't any other versions currently in the SWFConfig.xml file.  As such, you will want to clear all TestAdvantage mappings from this file.

    To do this, open the SwfConfig.xml file using a text editor of your choice.  Assuming there are no other third-party controls installed that provide record and replay servers for QTP, you can safely remove the entire text within the Controls element. In this case, the resulting file will look as follows:

    <?xml version="1.0" encoding="UTF-8"?>
    <Controls>
    </Controls>

    If you have other third-party controls that provide record and replay servers for QTP, you must leave this information intact. You will need to manually remove the sections for TestAdvantage for HP-QTP. Each section for a TestAdvantage record or replay server has a "BEGIN" comment and an "END" comment for the TestAdvantage version in use, making it easier to find the appropriate sections to remove.

    You then need to add the mappings for TestAdvantage between the opening and closing Controls tags.  The mappings for TestAdvantage can be found in the Infragistics_SwfConfig.xml file that is located in the Config folder of the TestAdvantage installation directory.  Simply open this file in a text editor and copy all of the contents and paste it between the Controls tags in the SwfConfig.xml file.

    When finished, save the modified SwfConfig.xml file and TestAdvantage should be configured to be used.  Please note that you may need to restart QTP for the changes to take effect.

    Let me know if you have any questions with this matter.