cancel
Showing results for 
Search instead for 
Did you mean: 

Create Adobe Acrobat objects in Script

SOLVED
Highlighted
Occasional Contributor

Create Adobe Acrobat objects in Script

How to obtain Adobe acrobat pdf objects in either python or Vbscript without downloading any external packages?

I actually wan to fetch windows title of Open PDF document . And also wants to find out whether the pdf is opened in Adobe Acrobat Reader or PRO?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

TestComplete can see the basic level of almost any application object.  So, for the document title, you should be able to find something like Sys.Process("adobedc").Window(blablah).  That object should have something like a WndCaption propery which will be the window title that you can then parse out.

 

As for which application...  That's the Sys.Process.  you can check your list of processes in windows to see if either process name exists when the file is open and make your determinations from there.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

1 REPLY 1
Highlighted
Community Hero

TestComplete can see the basic level of almost any application object.  So, for the document title, you should be able to find something like Sys.Process("adobedc").Window(blablah).  That object should have something like a WndCaption propery which will be the window title that you can then parse out.

 

As for which application...  That's the Sys.Process.  you can check your list of processes in windows to see if either process name exists when the file is open and make your determinations from there.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get properties of a web page element

See replies!

Compare images using the Region Checkpoint

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors