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 |
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
i need the word "good morning" to be displayed by default whenver we click upon the blank test while opening the qtp. Could you please answer...
What is the difference between low level recording and analog recording mode when it will be enabled.
It is regarding VBScript, how to export our function results to ExcelSheet through VBscripting. Ex: I have written add function, that result should export to Excel.
if devloper change only button names in present build then script will execute or not , why? Only gui changed.......
how to call multiple scripts in QTP at a time
How will you handle java tree in qtp?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
This is Ajay i have few douts if anybody know pls give me reply. 1. i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording
where do you store the test result?
How can we close all webbrowsers which are opened in out desktop?
What is operator in VB Script?