Enabling and disabling debugging

Sometimes in the process of script debugging you might add a lot of breakpoints, which then intervene in running the test without pauses.

If you want to have the breakpoints disabled, but do not want to disable all breakpoints one-by-one, it is enough to disable the debugging mode.

How to do it...

Enabling and disabling the debugging mode in TestComplete is quite simple and is done as follows:

  1. To deactivate the debugging mode, navigate to Debug | Enable Debugging. Meanwhile, all the breakpoint icons will change (instead of the solid circle, an empty circle will appear).
  2. To switch back to the debugging mode, navigate to Debug | Enable Debugging again. In between, the icons of the breakpoints will again become solidly painted.
    How to do it...

How it works...

As the debugging mode is rendered inactive, TestComplete will ignore all the breakpoints, allowing test execution entirely without pausing and without removing the breakpoint itself.

There's more...

If you are launching automated tests to be executed from the command line, it is usually unacceptable to have any stops during script run. To avoid such stops, it's enough to pass the /SilentMode parameter to TestComplete. In this case, breakpoints are also ignored.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.235.176