Can any one help me using the DOM with Firefox in QTP 

eg : 

  The Fallowing code works perfect in IE but not in Firefox ....Appreciate 
if someone helps me to resolve this issue in Firefox such that i can 
execute the same script both in IE & Firefox

                bFound = False 
                Set objHTMLDoc = Browser("Complete Purchasing 
Services").Page("Complete Purchasing Services").Object
                Set colATags = objHTMLDoc.GetElementsByTagName("span") 
               iCount = colATags.length 
                For i = 0 to iCount - 1 Step 1 
                                'Checking the page tittle
                                If Trim(colATags.Item(i).innertext) = 
Cstr("Create Menu") Then 
                                      bFound = True
                                                Exit For 
                End If 
                Next 
                If bFound Then 
                    Reporter.ReportEvent micPass ,"Admin Page","Admin  Page 
exists"

                Else 
                    Reporter.ReportEvent micFail ,"Admin Page","Admin Page 
not exists"
                End If 

                Set colATags = Nothing 
                Set objHTMLDoc = Nothing 

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to