Hi Support Team,
I am using Ranorex 5.2 Tool.
I have dynamic reports with different titles in PDF formats.
So when i run test cases then it finds the specific PDF file name.
So, My question is that how i will apply or call close button in dynamic PDF files?
Thank You.
PabitraKumar Swain
Close PDF file or Document
Re: Close PDF file or Document
Hi,
If you don't know what title will be displayed in the PDF viewer, then you will have to use another attribute to identify that PDF viewer (e.g. processname, app name, etc.) and use "Close Application" action to close the PDF viewer. Hope this helps.
If you don't know what title will be displayed in the PDF viewer, then you will have to use another attribute to identify that PDF viewer (e.g. processname, app name, etc.) and use "Close Application" action to close the PDF viewer. Hope this helps.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Posts: 13
- Joined: Thu Dec 04, 2014 5:21 pm
Re: Close PDF file or Document
Hi,
Thanks for your Support.
I have done it with in different way.
Thanks again.
Thanks for your Support.
I have done it with in different way.
Thanks again.
Re: Close PDF file or Document
Hi,
Nice to hear you found another way. Any chance you could explain how did you solve it? You see, your solution may help other people with similar problem
Nice to hear you found another way. Any chance you could explain how did you solve it? You see, your solution may help other people with similar problem

Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Posts: 13
- Joined: Thu Dec 04, 2014 5:21 pm
Re: Close PDF file or Document
Hello odklizec,
Sorry i was out of town.
Yes,
In my Application i want only close PDF file which was generated by some criteria.
So first i find out common name of PDF file on title bar, like .PDF extension.
Because rest of name is created dynamically.
Then i call close button click event from repository.
if i use process name or app name then it will close rest PDF files that are opened.
Hope you understood.
Thank you.
Pabitrakumar Swain
Sorry i was out of town.
Yes,
In my Application i want only close PDF file which was generated by some criteria.
So first i find out common name of PDF file on title bar, like .PDF extension.
Because rest of name is created dynamically.
Then i call close button click event from repository.
if i use process name or app name then it will close rest PDF files that are opened.
Hope you understood.

Thank you.
Pabitrakumar Swain