05-24-2011, 09:52 AM
(This post was last modified: 05-24-2011, 10:07 AM by prachi.aug23.)
Hi Deepak,
This line gives syntax error:
expected end of the statement
oNote.CreateNewPage unfiledID,importedPageID, 0[/b][/b][/b][/b][/i]
Also,when I tried with oNote.CreateNewPage unfiledID,importedPageID, 0 to overcome the syntax error:
oNote.GetSpecialLocation 1,unfiledPath
oNote.OpenHierarchy unfiledPath, "", unfiledID, 0
oNote.CreateNewPage unfiledID,importedPageID, 0 ' '[/b][/b][/b][/b][/i]
Above 3 lines give Type mismatch error and below line gives general run error:
oNote.UpdateHierarchy xml2import
Are these errors because QTP supports VB script and VB scripting cannot be done for One Note methods.Pls suggest.
Thanks,
Prachi
*
This line gives syntax error:
expected end of the statement
oNote.CreateNewPage unfiledID,importedPageID, 0[/b][/b][/b][/b][/i]
Also,when I tried with oNote.CreateNewPage unfiledID,importedPageID, 0 to overcome the syntax error:
oNote.GetSpecialLocation 1,unfiledPath
oNote.OpenHierarchy unfiledPath, "", unfiledID, 0
oNote.CreateNewPage unfiledID,importedPageID, 0 ' '[/b][/b][/b][/b][/i]
Above 3 lines give Type mismatch error and below line gives general run error:
oNote.UpdateHierarchy xml2import
Are these errors because QTP supports VB script and VB scripting cannot be done for One Note methods.Pls suggest.
Thanks,
Prachi
*