Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MS One Note 2010 support from QTP 11.0
#9
Solved: 11 Years, 3 Months, 2 Weeks ago
Hi,

This line gives general runtime error :

returnedStatusCode = oShell.Run(pathToConversionUtil & " -NameOfPdfFile " & """" & nameOfPdfFile &"""" & " -ClearCacheFinally True -UseUnfiled -Output " & """" & outputDirectoryForPrintedPdf & """" & " -CacheFolder " & """" & temporaryCacheFolder &"""" & " -PagesAfterThisTime " & """" & lastPrintedTime &"""" & " -ShowTOC False -ExportNotebook True -RefreshCache True", 0, True)

The steps I followed:
1. Action 1 : action which performs giving print to OneNote.
2. Action 2: I copied the code given by you in this action with single update in path as:
pathToConversionUtil = "C:\Documents and Settings\pandeypr\Desktop\OneNoteAll\OneNote2PDF.exe"

and made a call to action2 from action 1.
3. Run the script .It gives general run error in the line mentioned above.

*I have OneNote2PDF.exe and iTextSharp.dll copied to same path as mentioned above.

Also, it gives error saying "error opening file and file not found for the pdf " if I skip the general runtime error .
Which location are these pdfs getting stored?
Reply


Messages In This Thread

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP support for extjs applications adityasrinivasb 0 3,421 08-20-2013, 11:08 PM
Last Post: adityasrinivasb
  Does QTP support Adobe CQ and Microstrategy kamalteja 0 2,824 03-29-2013, 03:42 AM
Last Post: kamalteja
  QTP does not seem to support xhtml based java objects siva.kanukollu@yaho.com 0 2,773 01-16-2013, 05:03 PM
Last Post: siva.kanukollu@yaho.com
  Does QTP support Teleric and Dev-Xpress 3rd party tools, if yes how? Dharnish 0 2,362 09-19-2012, 04:32 PM
Last Post: Dharnish
  QTP 11 support for firefox qtplearner88 3 5,113 07-19-2012, 07:43 AM
Last Post: vIns

Forum Jump:


Users browsing this thread: 3 Guest(s)