0

Are there any way, to prevent the internet access of the tester application under the test whit Test Complete? I'd like to test the application's reaction of the lost of the internet connection, but I have to perform this whith a CI tool, which means the Test Complete have to block and unblock to connection.

Gregito
  • 117
  • 1
  • 2
  • 9

1 Answers1

0

You can do this using WMI directly from a script (see Working With WMI Objects in Scripts) or by executing a PowerShell script (see Running PowerShell Scripts From TestComplete).

For example, see this question to get a sample PS script:

Command/Powershell script to reset a network adapter

Community
  • 1
  • 1
Dmitry Nikolaev
  • 3,803
  • 2
  • 19
  • 23