Jump to content

[Closed] How to check if a Window(or specific Control) has finished loading?


Zohar
 Share

Recommended Posts

Hi

In Internet Explorer 7,

If you goto

Menu:

Tools\

Manage Add-ons\

Enable or Disable Add-ons...

you'll see a new window opens,

and when it loads for the first time, the Listview there takes some time to load.

(a few seconds aprox.)

now that's on the first time.

If you close that window and open it again,

it loads much faster.

My question is,

How can I know when the window finished loading?

(I cannot resume my script before it completely loads)

and if that's not quite possible, then is there a way to know that the listview has finished loading then?

right now I am simply doing a long Sleep() :)

I hope that can be substituted for something better.

Thank you

Edited by Zohar
Link to comment
Share on other sites

I know this is a long shot.. but u can try to see what text gets loaded last.. and then u can put it in ur winwaitactive.. haven't tested.. just an idea.. can't think of anything better..

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...