Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit
Running Clientside.exe Manually
Running Clientside.exe Manually
If you have included the Windows Embedded CE Test Kit catalog item in your runtime image, downloaded the CETK components with the workstation server application, or exported the components from your development workstation to the target device by using the File Viewer remote tool, you can start Clientside.exe on the target device and establish a connection to a workstation server manually. If your target device does not provide the Run dialog box for this purpose, open the Target menu in the Platform Builder IDE, select Run Programs, select Clientside.exe, and then select Run.
Clientside.exe supports the following command-line parameters that you can specify to connect to a specific workstation server application, detect installed drivers, and run tests automatically:
Clientside.exe [/i=<Server IP Address> | /n=<Server Name>] [/p=<Server Port Number>] [/a] [/s] [/d] [/x]
It is important to note that you can define these parameters also in a Wcetk.txt file or in the HKEY_LOCAL_MACHINE/Software/Microsoft/CETT registry key on the target device so that you can start Clientside.exe without command-line parameters.
In this case, Clientside.exe searches for Wcetk.txt in the root directory, then in the Windows directory on the target device, and then in the release directory on the development workstation. If Wcetk.txt does not exist in any of these locations, it checks the CETT registry key. Table 4-5 summarizes the Clientside.exe parameters.
Table 4-5 Clientside.exe start parameters
Command Line | Wcetk.txt | CETT Registry Key | Description |
---|---|---|---|
/n | SERVERNAME | ServerName (REG_SZ) | Specifies the host server name. Cannot be used together with /i and requires Domain Name System (DNS) for name resolution. |
/i | SERVERIP | ServerIP (REG_SZ) | Specifies the host IP address. Cannot be used together with /n. |
/p | PORTNUMBER | PortNumber (REG_DWORD) | Specifies the server port number that can be configured from the workstation server interface. |
/a | AUTORUN | Autorun (REG_SZ) | When set to one (1), the device automatically starts the test after the connection is established. |
/s | DEFAULTSUITE | DefaultSuite (REG_SZ) | Specifies the name of the default test suite to run. |
/x | AUTOEXIT | Autoexit (REG_SZ) | When set to one (1), the application automatically exits when the tests are completed. |
/d | DRIVERDETECT | DriverDetect (REG_SZ) | When set to zero (0), the detection of devices drivers is disabled. |
- Running the Test
- Running CETK Tests in Standalone Mode
- Тестирование Web-сервиса XML с помощью WebDev.WebServer.exe
- 9.1.4.2. Функции-оболочки: execl() и др.
- 2.3 Executable and Linking Format
- Диски С: и D: невозможно открыть простым щелчком кнопки мыши. Появляется сообщение Не найден файл file.exe. Что делать?
- 17.1 Что такое deb-пакеты, или куда девались exe
- Manually Configuring Quotas
- Running Services at Bootup
- Running Services Through xinetd
- Starting and Stopping Services Manually
- Manually Restoring the Partition Table