Forum Discussion

Everseeker's avatar
Everseeker
Contributor
9 years ago

Making use of Call Log.warning.... Doesn't "Break" TestComplete, right?...Right?

OK, Given this REALLY SIMPLE little set of code:

2015-07-19_17-46-10.png

I thought it would be great to change the message to a Warning, in the case of Reports, which does not work...

Ran it once... here's the output:

Note that, before the warning, every doubleclick item generated an event message...2015-07-19_17-42-50.png

But none after... And I mean NONE AFTER... as in... never more, in any other run, even after changing the .Warning back to .message... All runs NOW are returning this:

2015-07-19_17-43-40.png

That just Ain't Right.......

:(

 

5 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    Hm.  We have all sorts of warnings and they haven't affected the rest of the log.  What version of TC are you using?

     

    Take a look at my screenshot and compare it to your log.  Are all your boxes checked for the options you want?

    • Everseeker's avatar
      Everseeker
      Contributor

      After doing "other things" for a while, I returned to this... SAME issue...

      This Code...

      2015-08-25_14-02-50.png

      Giving This result

      2015-08-25_13-59-14.png

      Not a single Event notification... Even though it USED to

      • TanyaYatskovska's avatar
        TanyaYatskovska
        SmartBear Alumni (Retired)

        Hi Everseeker,

         

        I don’t see anywhere in your code where you call Log.Warning. I see only Log.Message. Thus, it’s expected that only messages are posted to the Test Log. Can you clarify this a bit?