How can we upload pdf files in qtp?
Answer / jeettu
Download ADOBE APTT plugin.
access the PDF file with its object model, for this u should have Acrobat installed in ur machine.
Find the sample example below.
Dim gApp, gPDDoc, jsoSet
gApp = CreateObject( "AcroExch.App" )1
Set gPDDoc = CreateObject( "AcroExch.PDDoc" )
If gPDDoc.Open( "c:MyPdfFile.pdf" ) Then
Set jso = gPDDoc.GetJSObject()
jso.console.Show
jso.console.Clear
jso.console.println ( "Hello, Acrobat for QuickTest!" )
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)
Can you write a script to check if the folder exists or not?
In QTP, As a first step wht we will do before going to start a Automation....when it will be decided that we have to go for a Automatio..and who will decide to go for Automation. Any body can pls let me know.. Thanks in Advance..
Write a script to verify font style and color of a windows object using descriptive programming
Have you performed Debugging and how did you?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
What is action?
what is keyword driven framework in qtp.
Hi Friends, I'm new to QTP. I want to write a function in QTP for below senario. In an Excel sheet column B, I Have 10 Url/Links, and in Colum A there is a Flag as Y and N. My test should run only on those iterations which are flagged as Y. Please help, Thanks
what is the code in QTP to take screen shot?
what is the extension for QTP files?
How can I replace all the text from the QTP script with some other text. Is there any replace all function in QTP Any one can help me