Forum Discussion

Nickolas's avatar
Nickolas
Occasional Contributor
8 years ago

Handling Indicator manually

I've been messing around with Indicator for a while and I feel like in some cases I would like to stop TestComplete from pushing its actions to the Indicator message box.

 

For exemple, when I'm using WaitWindow method, during the timeout, it shows the following:

"Waiting for Window: WndClass - "#32770", WndCaption - "Test*"

and I would like to leave a custom message saying:

"Waiting for MessageBox containing "Test* to show"

 

Is there a way to do that? and the example with WaitWindow method is just an example, the are many cases with many other functions where I would like to leave a custom message...

8 Replies

  • Manfred_F's avatar
    Manfred_F
    Regular Contributor

    have a look at the indicator object:

    indicator.PopText

    • Nickolas's avatar
      Nickolas
      Occasional Contributor

      Yes, I know how to handle my own messages...

      I want to disable testcomplete's auto messages...

      For example:

      If a field doesnt exists on screen, it shows the default message (waiting for field "x") and has its own timeout...

      I want to disable that, is it possible?