Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
spell checking of web objects
#1
Not Solved
I have written the following code to test the spell checking

Code:
Set M_Word = CreateObject("Word.Application")
Dim Desc
Set Desc=Description.Create                                                                                                  
Desc("micclass").Value = "Link"
                                                                                                                                                            
Set Total_Links=Browser("SomeName").Page("SomeName").ChildObjects(Desc)
a =Total_Links.Count                                              
For i=0 to a-1
M_Word.WordBasic.filenew                                                                                                        
Link_Name=Total_Links(i).GetROProperty("name")                                                            
M_Word.WordBasic.insert Link_Name                                                                                    
If M_Word.ActiveDocument.Spellingerrors.count>0 then
    Reporter.ReportEvent micPass, "Spelling " , "Spelling Error: " & Link_Name

End if
M_Word.ActiveDocument.Close(False)
next
M_Word.quit
Set M_Word=nothing
when I execute this Iam getting the following error

ActiveX component can't create object: 'Word.Application'

Line (1): "Set M_Word = CreateObject("Word.Application")".

I need help in this. Thanks in advance.[/quote]
Reply


Messages In This Thread
spell checking of web objects - by kriday - 06-28-2013, 11:52 PM
RE: spell checking of web objects - by basanth27 - 07-02-2013, 08:15 AM
RE: spell checking of web objects - by ssvali - 07-02-2013, 01:03 PM
RE: spell checking of web objects - by Staff - 07-05-2013, 01:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Smile If Then Is Always True For Web Objects zunebuggy 1 779 04-17-2020, 04:30 AM
Last Post: zunebuggy
  How to connect two web element objects? zawarepradeep@gmail.com 1 2,528 07-23-2014, 11:23 PM
Last Post: Ankur
  Spy is not deteting Web objects ssandula 0 1,827 11-25-2013, 04:33 PM
Last Post: ssandula
  Unable to identify the Web Objects in QTP 10 +IE 8 in Windows7 mahesh1612 2 4,213 02-08-2013, 03:26 PM
Last Post: mahesh1612
  QTP 11 not identifying IE9 web objects on run-time Surya 3 5,003 01-31-2013, 02:02 AM
Last Post: newqtp

Forum Jump:


Users browsing this thread: 1 Guest(s)