Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Save As issue
#4
Solved: 10 Years, 9 Months, 3 Weeks ago
Raj,

My:
FilePath = "O:/QTP Tests/QTPOutputData/ViewZipFax.xls"

Well, I figured out why, but now during the SaveAs I get the RunError:

Microsoft Office Excel cannot access the file 'O://QTP Tests/QTPOutputData/ViewZipFax.xls'. There are several possible reasons:

• The file name or path does not exist.
• The file is being used by another program.
• The workbook you are trying to save has the same name as a currently open workbook.

Function file: O:\QTP Tests\LibraryImageAccessFunctions-2.qfl
Line (982): " set wb=objExcel.Workbooks.open(FilePath)".

Any thoughts on why?

I need to keep the objExcel in my call as then my script fails. I do have it Set in my intial test script, but if I do not pass objExcel, my scrip fails in my Functions.
Reply


Messages In This Thread
Save As issue - by mv8167 - 07-07-2011, 11:01 PM
RE: Save As issue - by rajpes - 07-07-2011, 11:20 PM
RE: Save As issue - by mv8167 - 07-08-2011, 04:35 AM
RE: Save As issue - by mv8167 - 07-08-2011, 09:43 PM
RE: Save As issue - by rajpes - 07-08-2011, 09:56 PM
RE: Save As issue - by mv8167 - 07-09-2011, 12:24 AM
RE: Save As issue - by mv8167 - 07-09-2011, 01:54 AM
RE: Save As issue - by rajpes - 07-09-2011, 08:02 AM
RE: Save As issue - by mv8167 - 07-11-2011, 08:51 PM
RE: Save As issue - by rajpes - 07-11-2011, 10:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Save or Save As not working for QTP 11 Nick 1 3,089 08-13-2011, 12:16 PM
Last Post: vaddevinod

Forum Jump:


Users browsing this thread: 1 Guest(s)