Forum Discussion

mgroen2's avatar
mgroen2
Super Contributor
9 years ago

How to check if process is closed?

To check if a process is active, I use TestComplete Property Checkpoint (Exists = True), that works fine.

 

However how can I validate if a process is not there? I have tried something, but there is a problem with accessing the process it's values (because the proces (object) is not there TC cannot find its properties. And therefore the checkpoint fail.

 

What is a good approach to check if process is closed (not active)?

 

Thanks.

Mathijs Groen

2 Replies

    • mgroen2's avatar
      mgroen2
      Super Contributor

      Hi Harush,

       

      thanks, the example your suggested helped me creating a solution. Using "If Object" you can indeed check if object exists.

       

      However, working with Checkpoints  is not possible on this way.

       

      Would be better if Checkpoint wizard also supports checking on non existing processes, don't you think?