Forum Discussion

rrubio's avatar
rrubio
Contributor
12 years ago

unable to get .xml file contents displayed in web browser

Hi all, I am using TestComplete 9.31 and I need to get xml content displayed in my browser (IE9.0, FF17), but when spying the object I can not. Could anybody help me? Thanks a lot...
  • TanyaYatskovska's avatar
    12 years ago

    Hi Rarul,


     


    Do you want to get the content of the loaded web page? If you do, there are many ways to do this. For example you can use the following code for this:


    Sys.Browser("iexplore").Page("*").contentDocument.body