Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 865223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:36:27+00:00 2026-05-15T09:36:27+00:00

We have an application where some files are being loaded and the application stops

  • 0

We have an application where some files are being loaded and the application stops responding for some time during the loading of the file. during test automation, we are having the scenario where the file loading is automated, but qtp has to wait until the application starts responding again. How to code this? Any property is there like “Wait”?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T09:36:28+00:00Added an answer on May 15, 2026 at 9:36 am

    Any property is there like “Wait”?

    If so, then it is application-specific, so to answer that one would need to take a technical look at your application’s GUI design.

    Generally speaking, consider how a human user would figure that the application is “responding” again. Usually, there is some visual hint, like a button appearing, or a some control being not greyed out anymore. Synchronize on that state using a synchronization point.

    If all fails (i.e. if you cannot identify a control that appears, disappeares, or changes its properties when application’s processing is over), stick to a bitmap checkpoint which would look for the same visual clue a human would interpret.

    Often, the synch point or visual hint comes a little too early, before the application is ready to accept input again. Then, if your application flushes the keyboard buffer before the next user input is expected (an example of widely common bad design…), you will have a hard time synchronizing correctly. Keystrokes and mouse clicks will be lost. In this case, you should a) workaround the problem by inserting a delay (wait function call) before the next input, b) establish that the application never flushes its input queue, c) enforce that the visual clue is done only after the app REALLY is ready to accept input.
    Of course, b) and c) require work on the developer’s side and might be organizationally difficult to implement.

    If the problem occurs in different, or even all, contexts, communicate it to test management and let them get the developers to implement a custom “Ready” signal just for your test robot. Then, you could query that signal from QTP. It could be a semaphore, a Windows string property (Set/GetPropEx API call), a file existance (baaad idea..), or some other undangerous yet unsynchroneous way of communicating the “Ready” state from the app to the test robot.

    All this sounds crazy, but I’ve done all of the above, with usually good results.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an application that downloads some files in the background. Our application pops
We have a C# application that connects to a FTP server, downloads some files,
I have a web application (.war) that contains some static files (e.g. MS word
I have a c++ application which logs to some file using log4cxx (RollingFile appender).
I have some applications (some native, some .NET) which use manifest files so that
Suppose I have some application A with a database. Now I want to add
I have an application dependent on some internal web services, and so we want
I have developed application for drawing some shapes (lines mostly) , now i need
I have an application that works some what similar to how iPhone's Contact application
I have created an application that writes some data to the root folder of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.