Unified Functional Testing Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

QTP11 can't recognize DOM in firefox6 or firefox 12?

Occasional Visitor

QTP11 can't recognize DOM in firefox6 or firefox 12?

hi all,

 

I'm trying to get object's properties with DOM, on WIN7.

i've tried with firefox6 , and firefos 12, and i can't get the object children, text etc.

my code in VBS:

 

Set Doc=Browser("CreationTime:=1").Page("micclass:=Page").Object.getElementsByTagName("UL")


For i=0 TO Doc.length-1
     If Doc.item(i).id="quote-lists" then
         a=Doc.item(i).childNodes(0).innerHTML
    end if
Next

 

what is the right syntax for DOM in FF???

thanks

 

 

1 REPLY
Highlighted
Advisor

Re: QTP11 can't recognize DOM in firefox6 or firefox 12?

Hi,

 

Please check below document for your question.

 

http://support.openview.hp.com/selfsolve/document/KM1338856