Ask a Question

intermittent failing of Keyword Scripts

jimbot1981
Occasional Contributor

intermittent failing of Keyword Scripts

Hi, i am running a number of reports in my delphi app as a smoke test. The response times to opening the report vary and occasionally Test Complete will fail the script. If i chose to run the test on its own the script passes fine. Once i click on the Report button is there a way that i can put a pause into the recording which will wait until the report has fired up instead of failing?



thanks


2 REPLIES 2

RE: intermittent failing of Keyword Scripts


Hi James,





You need to find a sign that will tell you that a report is generated and ask TestComplete to wait until this sign appears. This can be a new dialog opened, text in a status bar, a message box, a change of button text or of its state, etc. Please find information on how to implement waiting for some of these cases in the following help topics:

Delaying Test Execution

Waiting for a Process or Window Activation

Waiting for Object State Changes
--
Dmitry Nikolaev

EVENT Participate in our annual online activities to have fun and be rewared:
Join Wintertainment 2021
jimbot1981
Occasional Contributor

RE: intermittent failing of Keyword Scripts

Many thanks David i will give that a go.
cancel
Showing results for 
Search instead for 
Did you mean: