Hi All,
I am trying to capture elements on word document using following code. My word doc name here is "ClsEditor.docx'". On this doc I want to capture "File" menu.
Ranorex.Form wordDoc = "/form[@title~'^ClsEditor.docx']"; //Works fine here
wordDoc.Activate();
Ranorex.MenuTag clauseEditor = wordDoc.FindSingle(".//tabpage[@accessiblename='File']"); //Gives exception "The element does not support required capability Button." What should I use here instead Button. I have already tried with MenuTag, MenuItem.
Thanks,
Rocky
Capturing objects on Word document.
Re: Capturing objects on Word document.
Thanks All, I got this, Ranorex supports TabPage.
Re: Capturing objects on Word document.
Hi Rocky,
Could you please let me know the code to capture the element from word document.
I'm trying to verify some data on word document but the issue is ranorex spy not going inside the word document.
Thanks
Navin
Could you please let me know the code to capture the element from word document.
I'm trying to verify some data on word document but the issue is ranorex spy not going inside the word document.
Thanks
Navin
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Capturing objects on Word document.
Hello NavinSP,
May I ask you to answer following questions?
Regards,
Robert
May I ask you to answer following questions?
- • Which Ranorex version do you currently use?
• Which Microsoft Word version do you use?
• Which elements (inside Microsoft Word) are you trying to verify?
Regards,
Robert