i am working on qtp 9.5 and firefox

My script was made for IE and had a line of code "Object.Document.body.innertext" that i was using to get the text from the browser and verify any text.

but this code does not works for firefox, it gives general run error.

Is there any alternative way to find out the text from firefox page?