ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Test
  • Overview
  • Configuring the test mode
  • Command line
  • Directory of files used for test
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
The test of the entire project simulates how the site or the application is started (e.g. via the executable for a WINDEV application). This makes it possible to test the entire site or application, even if its development is not complete yet. When a problem occurs during the execution of the project, you can start the debugger to identify and fix the problem.
Different parameters are used to:
  • Test a project by specifying a command line.
  • Test a project by specifying a specific runtime directory.
  • Test a project with a manifest (Windows Vista only).
  • Test a project using the rights granted to another user. This setting is used to check the operating mode of the application by simulating the UAC mechanism in Windows Vista.
Remark: The test of a project can be run regardless of the current element in the editor.
Configuring the test mode

Command line

To test a project using a command line, simply specify this command line:
  1. On the "Project" tab, in the "Test mode" group, expand "Test mode" and select "Configure test mode" (Ctrl + Shift + F9).
  2. Type the command line.
    • The custom command line corresponds to custom parameters used to run the project test.
    • The common command line corresponds to common parameters used to run the project test. These parameters are saved in the project and they are taken into account when the project is shared via the SCM.
    The command line used during the test is displayed (concatenation of common and custom command lines).
The different elements of the command line will be passed as parameters to the current program.
Reminder: these parameters can be retrieved through programming with CommandLine.

Directory of files used for test

To define the location of the data files used when testing an application in the editor:
  1. Open the project description: on the "Project" tab, in the "Project" group, click "Description".
  2. In the "Files" tab, select the location of test files:
    • Directory of the current configuration or current directory: The data files used will be in the subdirectory corresponding to the project configuration (subdirectory of the project EXE directory).
    • Specific directory: The data files will be located in the specified directory.
WEBDEV - Server code Remark: User Groupware
If your application uses the User Groupware, you must also set the location of the User Groupware data files. To perform this setting:
  1. Open the description window of the User Groupware: on the "Project" tab, in the "Project" group, click "User Groupware".
  2. In the "GPU / Private Store" tab of the current configuration, click "Change" in the "User Groupware" option.
  3. In the window that appears, click the "Files" tab.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help