Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can we upload pdf files in qtp?



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

Post New Answer

More QTP Interview Questions

four browser are open same application i want to enter 3browser how?

3 Answers   IBM,


i want to learn testing tools what i have to know before.iam fresher i dnt know any this..which langagues i have to before testing.

2 Answers   Wipro,


How to retrive XML file data in QTP ? using Script(Chandana)

6 Answers   Wipro,


What are the five challenges you faced in QTP?

0 Answers   CTS,


how to add run-time parameter to a datasheet?

1 Answers   Mphasis, Ordain Solutions,


Per-Action Vs Shared repository?

5 Answers  


How can i learn Descriptive programming in QTP. Please reply.

3 Answers  


Difference between object identification and smart identification

2 Answers   Wipro,


How to find array size in qtp?

0 Answers  


How to display the first 3 letters in these "ABCDEFGH" using qtp script?

6 Answers   Oracle,


Hi everybody, Can anybody tell me that how the QTP frameworks are implemented . I wanted to know with examples . Thanks in advance

2 Answers  


How can you send user defined messages to test report?

0 Answers  


Categories