Jump to content

window loading


Recommended Posts

For eg: if a browser page is loading, it shows the loading progress bar while retrieving the page contents. But in our application there's no data retrieving progress bar for loading a web page or something like that; so how to get the status of this window using AutoIt?

Link to comment
Share on other sites

For eg: if a browser page is loading, it shows the loading progress bar while retrieving the page contents. But in our application there's no data retrieving progress bar for loading a web page or something like that; so how to get the status of this window using AutoIt?

It depends on the application!

I understand that your application starts, loads some data and when loading has ended the user can start to work (print, manipulate ...) with that data.

How does the user know that all data has been loaded and he can start working? Does the application display some text in a status bar, ungray a button ...?

If the user knows that data loading has completed this can be checked by Autoit as well.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

Thanks for your quick response; in our application we show Report/other pages (mostly read-only pages) which are retrieved through web; now the problem is -

1. we don't show the loading progress bar

2. also there is no such thing or button that goes from disabled to enabled state or likewise

3. the page just loads its contents and show to the user...all buttons/text remain unchanged.

As it is a read-only application there is no data manipulation required by the user.....

Edited by YogeshDikshit
Link to comment
Share on other sites

How does the user know that all data has been loaded? Does he get an empty screen during loading and when all loading is done the data is displayed?

What type of control is the data displayed in (use AutoIts Window Info Tool?) Maybe your script could read the content of the control in a loop and when the control no longer is empty then do whatever ...

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

How does the user know that all data has been loaded? Does he get an empty screen during loading and when all loading is done the data is displayed?

What type of control is the data displayed in (use AutoIts Window Info Tool?) Maybe your script could read the content of the control in a loop and when the control no longer is empty then do whatever ...

its grid tool.

intially empty grid

after completion of loading, will get some data on grid.

note: we dont show progressbar while loading. That is the reason, unable to know the status of the window.

Please help.

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...