Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to solve unexpected file format error
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi ,
I am using QTP 9.2 and I am getting Unexpected file format error when I try to open the file.
Manually I checked the the folder,
I dont have any of the Action files and Default.xls in the folder.
I have only result files in my folder.
How to get recover from this issue.


Thank You
Uma
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
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.



Regards,
Ravi
Reply
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi ravi,

I will try and post the oservations.

Thank you
Uma
Reply
#4
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi I am using QTP 10 and just have this problem today but I cannot find the directory
C:\Users\home\AppData\Local\Temp

any other name ? also how did you know that QTP is pointing to this temp files ? perhaps mine is looking elsewhere.

thanks



Reply
#5
Solved: 10 Years, 8 Months, 3 Weeks ago
Please clear the temporary run results folder.
Refer to the attachment and get your path accordingly.


Attached Files Image(s)
   
Reply
#6
Solved: 10 Years, 8 Months, 3 Weeks ago
Run the command %temp% using Windows+R button.

Clear the folder.

Thanks,
Ankesh
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Invalid file error importing xls file Makhado 0 1,179 10-04-2018, 04:33 PM
Last Post: Makhado
  Web Testing and Unexpected Server Errors zunebuggy 0 1,163 01-24-2018, 11:41 PM
Last Post: zunebuggy
  Getting an error to open UFT using vbs file Naresh 1 5,155 06-11-2015, 06:34 PM
Last Post: venkatesh9032
  Invalid File error importing a spreadsheet but only on a VM msacks 1 2,562 10-19-2014, 09:04 PM
Last Post: supputuri
  QTP11.0 - Date format is changed as text while executing the QTP script. Automation Tester 1 3,901 05-30-2014, 01:25 PM
Last Post: Tarik Sheth

Forum Jump:


Users browsing this thread: 1 Guest(s)