QTP的那些事打开脚本文件弹出“unexpected file format”错误

解决方式一:

用QTP安装程序重新修复QTP;

解决方式二:

Go to temp folder path and delete all the files there.
C:\Users\home\AppData\Local\Temp (This is the default temp path where qtp stores the results if you have selected temp location during run)You can copy the location from the dialog box that appears when you click on run in qtp.
Am not sure how file formatt error is in relation with deleting temporary files
It worked in my case.

清理我们的临时文件夹。

原文地址:https://www.cnblogs.com/seniortestingdev/p/2452583.html