Capturing objects on Word document. : General Questions

Capturing objects on Word document.

Ask general questions here.

Capturing objects on Word document.

Postby rkarhe » Mon Aug 01, 2011 10:52 am

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
rkarhe
 
Posts: 33
Joined: Thu Jul 28, 2011 6:31 am

Re: Capturing objects on Word document.

Postby rkarhe » Mon Aug 01, 2011 11:09 am

Thanks All, I got this, Ranorex supports TabPage.
rkarhe
 
Posts: 33
Joined: Thu Jul 28, 2011 6:31 am


Return to General Questions

Who is online

Users browsing this forum: No registered users and 0 guests