I tried these options, MSAA was already selected,I just selected * which was unselected ,now atleast test Complete is able to identify the Commandbar controls,
For Text Recognition it's asking to add Window,so is this window generic.if I have to recognise text of Word Document,which window should I add .Also will this work even of another Word document is opened.?
If you need just to read a Word file (and not compare 2 files), you can use the Word COM object, Word.Application. Here's an example:
// Open a file in Wordvar oWord = Sys.OleObject("Word.Application");
oWord.Visible = true;
var oDoc = oWord.Documents.Open("C:\\Test.doc");
// Read the paragraphs one by one, and post them to the logfor (var i = 1; i <= oDoc.Paragraphs.Count; i++)
Helen Kosova SmartBear Documentation Team Lead ________________________ Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️