Unable to identify content of Word Doc 2010 using Object Spy

Ask general questions here.
secloreqa
Posts: 4
Joined: Thu Aug 20, 2015 7:03 am

Unable to identify content of Word Doc 2010 using Object Spy

Post by secloreqa » Thu Aug 20, 2015 7:20 am

Hi all,
I am trying to add a validation point in my Test Script using the Content of File Document (Microsoft Word 2007 and 2010).

So, for making sure the file has opened successfully, I want to check the content of the file against the base initial Text, but I am not able to get any property for the same.

Object Spy is not able to identify the Document Content. This issue does not arise when using MS Word 2013.

Also, Office controls are not being identified by the spy.

Please let me know if there is something which I am missing.

Thanks,

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

Re: Unable to identify content of Word Doc 2010 using Object Spy

Post by odklizec » Thu Aug 20, 2015 2:22 pm

Hi,

I'm not sure about Word 2010 recognition support, but have you tried GDI access approach described here:
http://www.ranorex.com/support/user-gui ... tions.html

Eventually, you may try to send Ctrl+A and Ctrl+C shortcuts to the word app (this should select and copy the text from Word), then paste the copied text somewhere or fill a string variable and analyze its content.
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