Validating elements in Microsoft Report Viewer

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
smrse
Posts: 5
Joined: Tue Apr 22, 2014 10:45 pm

Validating elements in Microsoft Report Viewer

Post by smrse » Wed Jun 04, 2014 9:31 pm

The UI of our software uses Microsoft Report Viewer to preview PDF reports. Ranorex will not allow me to validate anything in the report because it just sees it as a Picture. Is there any way for me to do these validations? Within the UI, I don't have any options for changing the accessibility of reports shown in the viewer.

thanks,
Stephanie

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Validating elements in Microsoft Report Viewer

Post by odklizec » Thu Jun 05, 2014 7:14 am

Hi Stephanie,

If there is no way to enable accessibility in MS Report Viewer, then I'm afraid, you are finished ;) Just to be sure, have you tried to open the pdf in adobe acrobat viewer and check the accessibility state of that document (see this post how to do this)? Or even better, are you sure that the content of the pdf is not just a picture? Could you post an example PDF file?
Pavel Kudrys
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

smrse
Posts: 5
Joined: Tue Apr 22, 2014 10:45 pm

Re: Validating elements in Microsoft Report Viewer

Post by smrse » Thu Jun 05, 2014 3:23 pm

Thank you, Pavel. When I export the report and open it with Adobe reader I am able to see the fields and validate them with Ranorex.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Validating elements in Microsoft Report Viewer

Post by odklizec » Thu Jun 05, 2014 4:02 pm

Hi,

OK, so unless you find a way to somehow enable the accessibility in MS Report Viewer, the only option seems to be using Adobe Reader instead of Report Viewer. I would suggest to check the Report Viewer documentation or eventually contact MS support.
Pavel Kudrys
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