Compartilhar via


Wcetk.txt and Clientside.exe Settings for the CETK (Windows CE 5.0)

Send Feedback

The CETK searches for a Wcetk.txt file when you specify no command-line options for Clientside.exe. The CETK searches first for the Wcetk.txt file in the root directory and the Windows directory on the target device. If the CETK does not find a Wcetk.txt file in either of these locations, it searches for the file in the release directory on the development workstation.

The following table shows the settings that you can specify in a Wcetk.txt file. For each setting, the table also shows the equivalent command-line option for Clientside.exe and the equivalent registry entry on the target device. The registry location for these is HKLM/Software/Microsoft/CETT.

Wcetk.txt setting Equivalent Clientside.exe option Equivalent target device registry entry Description
SERVERNAME
/n
ServerName, with REG_SZ data type. Computer name of the CETK server. The computer name must resolve to an Internet Protocol (IP) address. You cannot specify both SERVERNAME and SERVERIP for the CETK server.
SERVERIP
/i
ServerIP, with REG_SZ data type. IP address of the CETK server. You cannot specify both SERVERNAME and SERVERIP for the CETK server.
PORTNUMBER
/p
PortNumber, with REG_DWORD data type. Number of the port over which the CETK server communicates with the target device. You can find the port number in the Server Settings dialog box. For more information, see CETK Tool Operation.
AUTORUN
/a
Autorun="1", with REG_SZ data type. When this setting in the Wcetk.txt file is assigned a value of 1, the target device automatically starts running tests after the connection to the CETK server is established and detection of peripheral devices completes. If you specify in the Wcetk.txt file any value not equal to 1, the target device connects and peripheral devices are detected, but tests do not launch without manual input.

Use the /a option in the command line for Clientside.exe to specify that the target device should automatically run tests after the connection to the CETK server is established and detection of peripheral devices completes. Do not specify a value for the /a option in the command line.

DEFAULTSUITE
/s
DefaultSuite, with REG_SZ data type. Name of a test suite. If you do not specify a test suite, the default tests are selected. For more information about test suites, see Creating a Suite of Tests.
AUTOEXIT=1
/x
Autorun="1", with REG_SZ data type. Automatically exits after tests are complete.

Note   You can add comments to a Wcetk.txt file. A comment line begins with a semicolon.

The following text shows the contents of a sample Wcetk.txt file.

SERVERNAME=MyWorkstation
PORTNUMBER=5555
AUTORUN=0
DEFAULTSUITE=My Suite

See Also

Manual Connection of the CETK to a Target Device | Running the CETK Tool Without the CETK Client in the Run-Time Image

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.