HI,
I need to compare the text alignment whether same or not in 2 PDFs. How can we do in Ranorex 8.3.2
Please help me.
How to get know text is right aligned or left aligned in PDF
Re: How to get know text is right aligned or left aligned in PDF
Hi,
Could you please post an example PDFs so we can examine them? There is definitely not an out-of-the-box feature in Ranorex to achieve what you want. But there maybe an attribute in PDF files, which may help with such validation? Unfortunately, it's impossible to suggest something reliable without seeing the PDFs.
Could you please post an example PDFs so we can examine them? There is definitely not an out-of-the-box feature in Ranorex to achieve what you want. But there maybe an attribute in PDF files, which may help with such validation? Unfortunately, it's impossible to suggest something reliable without seeing the PDFs.
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
Re: How to get know text is right aligned or left aligned in PDF
I have another PDF which contains the same text and alignment as above i need to verify whether both are having same alignment or not.
Re: How to get know text is right aligned or left aligned in PDF
Hi,
I'm sorry, but screenshot of a PDF file is not useful at all. I understand what you want, but without examining the PDF file, there is nothing I (and most probably anyone here) can do or suggest. You see, I don't have a PDF with right aligned text and I'm not willing to search or create such file, which may not be compatible with your PDF. So any suggestion I would make, based on my file, may be irrelevant
I'm sorry, but screenshot of a PDF file is not useful at all. I understand what you want, but without examining the PDF file, there is nothing I (and most probably anyone here) can do or suggest. You see, I don't have a PDF with right aligned text and I'm not willing to search or create such file, which may not be compatible with your PDF. So any suggestion I would make, based on my file, may be irrelevant

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
Re: How to get know text is right aligned or left aligned in PDF
Pls me let me know if u need more details.
Re: How to get know text is right aligned or left aligned in PDF
Waiting for reply 

Re: How to get know text is right aligned or left aligned in PDF
Hi,
I'm afraid, I'm unable to track the text in top-right corner of the first PDF file and there seems to be no text in second PDF. Are you able to track the text with Ranorex Spy?
I see both PDF files were created with an old Office (2007) and I'm not quite sure if Office even produces PDF files with correct accessibility support? Without proper accessibility support, Ranorex has no access to PDF file content and there is nothing you can do with such PDF files in Ranorex.
I'm afraid, I'm unable to track the text in top-right corner of the first PDF file and there seems to be no text in second PDF. Are you able to track the text with Ranorex Spy?
I see both PDF files were created with an old Office (2007) and I'm not quite sure if Office even produces PDF files with correct accessibility support? Without proper accessibility support, Ranorex has no access to PDF file content and there is nothing you can do with such PDF files in Ranorex.
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