How to Make TestComplete Play a Holiday Song

  December 24, 2008

As you may know, TestComplete includes lots of features that help you carry out various types of tests. In fact, TestComplete is so smart that it can even play you a holiday song. Here are the steps to activate this cool feature. :-)

Requirements:

  • Windows NT 4.0, Windows 2000 or a 32-bit edition of Windows XP, Windows Server 2003, Windows Vista or Windows Server 2008.

  • TestComplete 4 or later with the Win32API plug-in installed and enabled.

  • PC speaker enabled.

Instructions:

  • Launch TestComplete and create a new JScript project.

  • Replace the Unit1 contents with the code below.

  • Run the Main routine.

  • Enjoy! :-)