QTP Automation with Acrobat SDK

Hi,
I would like to verify the PDF content using HP Automation tool - QTP by opening the PDF and extracting the Text content from PDF.
I am trying the OLE style and using a series of commands, as described in many postings. The first one is:
CreateObject("AcroExch.App")
It throws error, saying "Cannot create ActiveX component"
From the Forums I found that it will not work with Adobe Reader and will work with Full Adobe Product with Adobe SDK.
Now I would like to know which version of Acrobat will have Acrobat SDK.
My Client already procured the below Acrobat Products.
VLA ACROBAT 10  win universal English
VLA ACROBAT 10 WIN Universal English STD to STD Upgrade ST-ST
VLA ACROBAT Pro 10  win universal English
VLA ACROBAT Pro 10 WIN Universal English STD to STD Upgrade ST-ST
Pls let me know which product( which has Adobe SDK as well)  I should choose to proceed with QTP Automation.
Any Advise/Help greatly appreciated.
Thanks.
Anand Muthunayagam.

Check out http://labs.adobe.com/technologies/aptt/
From: Adobe Forums <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Date: Fri, 28 Oct 2011 06:09:25 -0700
To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
Subject: QTP Automation with Acrobat SDK
QTP Automation with Acrobat SDK
created by AnandMuthuNayagam<http://forums.adobe.com/people/AnandMuthuNayagam> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3995113#3995113

Similar Messages

  • How to start with Acrobat SDK on Xcode?

    Hello,
    I'm a newer with acrobat sdk, does anyone know how to start and give me some commend for  good books.
    Does acrobat SDK 9 support Snow Leopard and Xcode 3.2?

    OK, I installed the savage driver package and ran (as root)
    X -configure
    I took the resulting xorg,conf.new to /etc/X11 as xorg.conf.
    When I startx as a user, the laptop screen stays black.
    When I run
    xdpyinfo
    I get
    unable to open display ""
    When I enable "startkde" in ~/.xinitcr, the KDED configuration dialog comes up, but in a poor resolution.
    In a way, X seems to work basically, but I suppose the resolution is at 640*480.
    At /var/log/xorg.0.log I can't find any errors (EE), just 3D warnings, which shouldn't bother.
    BUT..... it seems the X is taking mode 111 (640*480), but my 14" laptop would like 117 (1024*768).
    Can you tell me, where and how I can switch the resolution in X ? I read about the "Displaysize" in the Monitor Section, but I couldn't figure that out. The funny thing is, I have a second laptop running, with 1024*768 (vesa driver), and there is no DisplaySize in its Monitor section, but this machine is running at the correct resolution. Strange. 

  • How [Insert|Add] Image into Opening PDF file with Acrobat SDK.

    Hi Guys,
    I'm trying to insert|add image file into opening PDF file with specified location (X|Y) and scale (Width|Hight) but got many of troubles
    If use third party like iTextSharp or something else thing become simple but i want to use Acrobat SDK to do this
    Any suggestion or idea?
    Any help appreciated.

    Thank for your interested.
    I use VB.NET and Acrobat
    Here is some my code:
    Try
       If File.Exists(T(0)) Then
       Dim AcroAVDoc As AcroAVDoc = Ap.GetActiveDoc
       Dim AcroPDDoc As AcroPDDoc = AcroAVDoc.GetPDDoc
       Dim AcroPDPage As Acrobat.AcroPDPage = AcroPDDoc.AcquirePage(Integer.Parse(T(3)))
       Dim data() As String = T(1).Split("^")
       Dim imgX = data(0)
       Dim imgY = data(1)
       Dim imgWidth = data(3)
       Dim imgHight = data(4)
       'TODO: insert into opening PDF file
       Return 1
       End If
       Catch ex As Exception
       End Try
    I don not know what to do next to insert an image (JPEG, PNG, ..) into PDF file.
    Can you show me or suggest some solution, idea?
    Thank in advance.

  • Acrobat SDK C# Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)

    Hi,
    Here I want to known one thing clearly, that is I was developed one application in C# with Acrobat SDK.
    In my application I am using Acrobat AxAcroPDFLib.AxAcroPDF and  also some other acrobat class.
    In my development system i am using Acrobat 7.0.
    When my application installed in my client system I am faced different types of problem.
    System 1
    System Configuration
    OS : XP
    Acrobat 7.0
    Result : Success
    System 2
    System Configuration
    OS : XP
    Acrobat 5.0
    Acrobat 7.0
    Result : Fail
    Error : Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)
    System 3
    System Configuration
    OS : XP
    Acrobat 7.0
    Adobe Reader 9
    Result : Success
    Note:
    But I having problem when I am use my application while Adobe Reader 9 is open.
    What is problem?
    Error is related to ActiveX COM fail like
    Error HRESULT E_FAIL has been returned from a call to a COM component.
    Retrieving the COM class factory for component with CLSID {FF76CB60-2E68-2E68-101B-B02E-04021C009402} failed due to the following error: 80080005
    System 4
    System Configuration
    OS : XP
    Acrobat 7.0
    Result : Success
    Problem:
    At the time of tool installation the system configuration will be as mention above, after by mistake they installed Adobe Reader 5.0. I faced the problem to use my application ActiveX COM failed
    So I was un installed Adobe Reader 5, and tried but I got the following error,
         System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception      from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
    at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
    at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
    at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
    at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
    at System.Windows.Forms.AxHost.CreateInstance()
    at System.Windows.Forms.AxHost.GetOcxCreate()
    at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
    at System.Windows.Forms.AxHost.CreateHandle()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.AxHost.EndInit()
    at Greenleaf_MetaData.ArticleMetaData_Jnl.InitializeComponent()
    at Greenleaf_MetaData.ArticleMetaData_Jnl..ctor()
    at Greenleaf_MetaData.MainForm.btn_Process_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)   
    So, I am advised my System Admin team to Re-Install the Acrobat 7.0, after the Re-Installation of Acrobat 7.0, all the problem get solved.
    But I want to known what is problem?
    And also what is the Adobe COM connection between Acrobat ActiveX and my Application(C#, VB, etc…).
    So Please give clear information and guidance...
    Thanks & Regard
    Thirusanguraja Venkatesan

    A simple google can get:
    Common problems such as Windows Error Code 0x80040154 can be resolved with without too much difficulty. In this article we will go through solving the problem and how to prevent it in the future.
    What happens
    If you are registering an ATL server, you may see this error code. In the case of DLLs, regsvr32.exe will generate this error. In the case of EXEs, calling _Module::RegisterServer (CComModule::RegisterServer) in _tWinMain() will generate this error.
    For detail: http://www.error.info/windows/registry-0x80040154.html
    Cheers,
    andy

  • Acrobat SDK: How to get events and write event handlers in c#

    I am trying out to get events from a pdf doc and handle it in my c# code with the samples that come with Acrobat-SDK. 
    I am yet to understand how I can do it. I am yet to discover the class that provides me the events. All the classes currently expose methods only. It might be that I am missing something for sure.
    Can somebody help?
    My use case is:
    the user will open a pdf doc and my application (or my app can trigger opening the pdf doc)
    when the user selects some text from the pdf doc, my app should get the event
    My event can handle the selection and get the selected text.
    Put a bookmark on the selection in the pdf doc (with additional attributes)
    the pdf doc retains such bookmarks when the pdf is saved.
    bookmarks in the pdf should be available for edit.
    A different app/code should be able to parse and retrieve these bookmarks along with the additional attributes of the bookmark.
    I hope, I have not asked too much.

    There are no “event handlers” for C# in the Acrobat SDK.  You will have to “poll” for things such as selected text.
    Also, I don’t know what sort of “additional attributes” you are thinking about, but that may or may not be possible from C#.

  • How do I work in Acrobat SDK?

    Hello,
    I have never worked with Acrobat SDK before.  I need to develop a plugin for Acrobat Reader 9.  Can someone please point me in the right direction and tell me what to do?
    After I have installed the SDK I want to develop a custom search plugin that will limit the search to only selected bookmarks in a PDF document.  Are there any examples of this available?
    Thanks so much!
    Linda

    Welcome, Linda:
    I wish somebody would have given me this advice when I started dealing with the Acrobat SDK, a decade ago.
    (1) The SDK contains a MSVS Solution called "All". You will find plenty of examples there.
    (2) One of the projects is specially important: SnippetRunner. It contains a wealth of functions. Back in my day it was weird and I avoided it, but now it is based on Adobe Air, and is much simpler to install. After you have Air installed, just double click on the file CommonInterfaceAIR.air. With that interface you will be handling Acrobat with a soft of remote control, and testing all kinds of functions.
    (3) I had no idea that DLLs are so easy to debug. Boy, is my face red!! You probably know how to do it. (Plugins are just a DLL with a different extension)
    (4) Keep these links handy (actually, update them to your version):
         http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/js/html/wwhel p.htm?&accessible=true
         http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/API_References/Acrobat_API_R eference/
    In addition to this Adobe site, we developers have this one:
        http://forums.planetpdf.com/pdf-developers_forum16.html
    Best of luck

  • Set PDF Document Properties Initial View by Acrobat SDK with C#

    Hi,
    Here am trying to set the PDF document initial view by the Acrobat SDK with C#.
    Here I am show my screen shot which properties I want to set.
    For this process I am referred Acrobat SDK and also following Adobe forums they also asked similar question.
    http://forums.adobe.com/message/3866361
    http://forums.adobe.com/message/4803264
    http://livedocs.adobe.com/acrobat_sdk
    And also I am used following C# code
          Acrobat.AcroPDDocClass doc = new Acrobat.AcroPDDocClass();
          doc.Open(@"D:\..\sap.pdf");
    doc.SetOpenInfo(1,1,"Fit Width");
          doc.SetPageMode(3);
          doc.Save(1, @"D:\..\sap.pdf");
          doc.Close();
    From the above code {doc.SetPageMode(3);} is working for set the page mode.
    But I am having problem in following code {doc.SetOpenInfo(1,1,"Fit Width");}
    Because it won’t work I do’t known, and there is no clear samples in the SDK reference document.
    So please give advice and clear sample code/syntax to meet above needs which are marked in red box.
    Document Properties - > Intial View
    Document Option
         Show: Bookmarks Panel and Page
         Page Layout: Continuous
         Magnification: Fit Width
    Window Options
         Show : Document Title
    Regards,
    Thirusanguraja Venkatesan

    ok thank you Test Screen
    I will try and let you know if i am done by automation .
    Regard,
    Thirusanguraja Venkatesan

  • License not present. With the trail version only limited replays are allowed... Qtp automation

    Hi All.
             We are doing QTP automation testing for our flex application. But after running all 30 tests it is showing License not present. with the trail version only limited replays are allowed. We are using  flex sdk 3.5 and flash builder 4 plugin for eclipse. we are building our application using ant and we are deploying the application directly and testing it.  Can any one tell Steps to resolve this issue...
              please step by step required..
    Thanks
    Ram

    You need to have valid premium license for Adobe. Only then it would work.

  • How to use Acrobat SDK with C# and how much is it?

    I just want to know these info because I'm new here and I can't seem to find any answers to these here in the forums and on the Documentation.

    Hi,
    The Acrobat SDK is free and can be downloaded from http://www.adobe.com\devnet\acrobat. Please note to use the SDK you require Acrobat/Reader to be installed.
    As for using it with c#, there are a number of sample files in the SDK that can be used to learn. There is also documentation online and in the SDK.
    Hope thie helps
    Malcolm

  • How to Use Acrobat SDK for Automation Using VB or Perl

    Hi Forum,
    I am a new bie, just 2 days old to acrobat and javascript, and I am basically a perl developer
    I am using Adobe Acrobat 9 Pro,
    I downloaded Acrobat SDK, but i don't know what else to do further, how to use??
    I tried to start learning SDK, but no proper documents i found to learn and start using SDK,
    Please suggest some guide or documentation for start learning Acrobat SDK (Step by Step guide)
    Here with I have created a small script to merge two pdf
    // Create a new PDF document:
    var newDoc = app.newDoc();
    // Insert doc1.pdf:
    newDoc.insertPages({
    nPage : -1,
    cPath : "/d/sathish/1.pdf",
    // Insert doc2.pdf:
    newDoc.insertPages({
    nPage : newDoc.numPages-1,
    cPath : "/d/sathish/2.pdf",
    // Save the new document:
    newDoc.saveAs("/d/sathish/myNewDoc.pdf");
    My code is working fine and merging properly,
    Is there any way to execute this script through commandline or using some other scripting languages like perl or through VB
    My objective is to automate the merging process without any manual intervention, I don't want to open acrobat manually to execute this javacript, i want to automate that process too,
    Please suggest me which will be very helpful to me,
    Thanks in advance
    Thanks & Regards
    Sathish V.

    It is a big SDK and to learn its features requires a lot of reading. But to start with I guess I should start with "Introduction to SDK".
    Since you want to control Acrobat from another application you should consider this under "Interapplication communication". You will be using OLE/COM.

  • Does Acrobat XI have a compatibility problem with Acrobat 8 SDK?

    I have an Acrobat plugin using the Acrobat 8 sdk. Il works well with Acrobat8, 9, and X.
    It does not load with acrobat XI. There is a NSException that is reaised.
    What in Acrobat XI can cause this behavior?
    Thanks!

    Changes are that your plugin is either explicitly linking with the ADM technology that we have been telling developers since Acrobat 8 that it was going away.  Guess what – it's gone!
    So you will need to recompile your plugin, removing all references to ADM and its HFT.

  • Using the Acrobat SDK with READER

    I have successfully coded (C#) against Acrobat Pro. in the past. Since ACROBAT.DLL is not provided with Acrobat Reader, how can you code against it? The sample code provided with the SDK shows it's use with ACROBAT.DLL and states that limited functionality is available for Reader, but how can that be if ACROBAT.dll is not provided with Reader? Am I missing a concept here? Is there another DLL and TLB to use for Reader? I'm lost!
    Thanks

    Ask your questions in the forum for Acrobat SDK.

  • Compare 2 PDFs programmatically with Acrobat XI SDK

    Is there a way to compare 2 PDFs programmatically with Acrobat XI SDK? I have read elsewhere in these forums that it was possible in Acrobat 8 using C/C++ methods. If it is not possible with Acrobat XI, can we still use those C/C++ APIs from Acrobat 8 although the Desktop version running is Acrobat XI?
    Is an API feature for Compare PDFs in Acrobat XI in the feature list/roadmap?
    Any technical details and links to information/references is greatly appreciated.
    Thanks very much for your response, really appreciate your help.

    So using methods like DigSigComparePages(from the link below) not an option anymore with the current version of Acrobat SDK?
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/API_References/Acrobat_API_R eference/Digital_Signatures/DigSig.html#DigSigComparePages411()

  • Using the SDK in a C# program with Acrobat Standard (License question)

    Hi,
    we have purchased Adobe Acrobat Standard and installed it on a Computer to edit pdf documents.
    Basically, we delete some pages at the end of document as they contain superfluos information.
    As there is a naming convention in these files that tells us how many pages have to be deleted, we want to use the Acrobat SDK to delete the pages automatically.
    Is that ok or would we need to purchase a special license for the Acrobat SDK?
    Cheers,
    Helmut

    As long as the computer is only performing the task for a single individual (since you only have a single copy) - that’s fine.  It cannot, however, perform this operation for multiple people.

  • Create pdf using Adobe acrobat sdk

    Hello,
    I'm new to this concept of using adobe sdk to convert a html into pdf.I would like to know few details regarding this..
    I went thorugh the documentation but I did not get any help about the vector image support in the pdf and I aslo want to know abot the dpi support in the pdf.
    I also want to know wether I can create a pdf form a Html page.
    thanks for the help.

    >I want this to be on the server.
    Ok, we can start there - or stop. The Acrobat SDK is for automating
    Acrobat. Acrobat must not be installed on a server. So you cannot use
    Acrobat.
    Adobe have a PDF Library, which can be licensed for server use. But it
    does not have any easy HTML to PDF converter.
    You might look into LiveCycle PDF Generator, a different application
    with a Java API and more, for server use.
    >The dpi what I was talking about was..in the pdf i want a logo to appear that would around 200-300 dpi.That logo is a vector image.
    This seems a contradiction. PDF files can store text, vector images
    and bitmaps/images. If you store a vector image, it remains vector and
    there is no dpi to worry about.
    HOWEVER if you can only convert HTML
    1. HTML does not support any vector formats
    2. HTML often forces images to 72 dpi.
    HTML is not suitable for print quality.
    Aandi Inston

Maybe you are looking for

  • How to create a Purchase order from XI Using ORDERS05

    Hello Experts, I need to create a purchase order using OREDRS05 from XI. I was not able to create and I am having these quires. 1. What are all the mandatory fields that I need to fill in to create a purchase order? 2. Which part of the SAP will take

  • PDFFILT.dll conflicts with AcroRdIF.dll?

    Note: the post which led up to this post is here: http://forums.adobe.com/thread/1037849. Anyone truly interested in the subject may want to read that post first! Both posts refer to the following installations on a computer: Windows XP Pro SP3 32-bi

  • CSS problem in IE6

    Hi, Anybody have IE6 somewhere? I just heard my content is screwing up - main content is pushed down below the sidebars. Looks fine across all new browsers. Some kind of float clear thing? www.ecmagazine.net Gotta clue? Thanks, ttt

  • Nikon D3/D4 and LR4

    Hi. I am a photographer and want to see my photos when shooting directly into LR4. I have a Nikon D3 and D4. How does it work? Thank you.

  • Applid tied to icloud account

    I need to remove the icloud account that is tied to my apple id so I can create my own.  For somereason, my daughters is tied to my apple id, and it should only be tied to her apple ipod.  How do I fix this problem?  It will not just let me delete th