Forum Discussion

googleid_102416's avatar
12 years ago

Waiting for a resource to be loaded



I'm testing a web project. What I need is to check whether the browser finished loading of certain resource (let's say an image or swf) and execute my code once it's done. How can I do that with Test Complete?



2 Replies

  • Hi Tanya,

    The article you've mentioned refers to very basic scenarios. I'd like to know if the browser finished loading of specified resource but not waiting for a webpage. I understand that I can wait for an object on the webpage, but this won't work if HTML structure is not changed. Am I right?

    Alternatively I'd like to check if there are pending or incomplete network requests that browser is currently waiting for.