AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Pruebas
  • Overview
  • Test mode settings: Command line
  • Command line
  • Test mode settings: Advanced options
  • Vaults
  • Runtime directory
  • Vista manifest
  • Other user account
  • Debug options
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
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.
You can set the various test mode options: in the "Proyecto" pane, in the "Modo de prueba" group, pull down "Modo de prueba" and select "Test mode settings" (Ctrl + Shift + F9).
Different parameters are used to:
Note: The test of a project can be run regardless of the current element in the editor.
Test mode settings: Command line

Command line

To test a project using a command line, simply specify this command line in the test mode settings window.
  1. Display the test mode settings window: under the "Proyecto" pane, in the "Modo de prueba" group, pull down "Modo de prueba" and select "Test mode settings" (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 programmed using the CommandLine function.
Test mode settings: Advanced options
Novedad versión 2025

Vaults

WINDEV allows the use of secret string vaults. It is possible to select the type of secret strings used in tests:
  • Test content.
  • Secret content.
For more details on vault management, see Secret string vault.
Note This option is available from version 2025 Update 1 onwards.
WINDEV

Runtime directory

WINDEV allows you to run the project test in a directory other than the "EXE" directory of the project. Therefore, the test is run in conditions close to the ones found on the end-user computers.
By default, the data files taken into account are those present in the specified directories:
To change the application execution directory in test mode:
  1. Click on the "Run directory" tab.
  2. Check "Ejecutar el modo de prueba en el directorio real de ejecución".
  3. Select the desired runtime directory.
  4. Click the "Copy the files" button. For each data file, you can choose the directory into which this file must be copied:
    • a directory proposed by default:
      • <ExecutionDir>: Standard execution directory of the application. This directory is identical to the one chosen in the "Runtime directory" tab.
      • <UserDataDirectory>: Standard directory of the application's data for a specific user. In Windows XP/Vista, this directory has the following format: "C:\Documents and Settings\<User>\Application Data\<Company Name>\<Application Name>".
      • <RepDonneesCommun>: Standard directory of application data for all users of the same computer. In Windows XP/Vista, this directory has the following format: "C:\Documents and Settings\All Users\Application Data\<Company Name>\<Application Name>".
      • <RepGlobalUtilisateur>: Standard directory for data shared by multiple applications for a specific user. In Windows XP/Vista, this directory has the following format: "C:\Documents and Settings\<User>\Application Data".
      • <RepGlobalCommun>: Standard directory for data shared by multiple applications for all users of the same workstation. In Windows XP/Vista, this directory has the following format: "C:\Documents and Settings\All Users\Application Data".
    • in a directory selected via the picker ([...] option).
WINDEV

Vista manifest

If Windows Vista (or later) is your operating system, WINDEV allows you to run the test of your application by using a manifest. This manifest can be included in the executable of your project when creating the executable.
Using a manifest allows you to specify the level of rights required to run the application.
The available manifests are as follows:
  • No manifest
  • No privileges
  • Maximum user privileges
  • Administrator privileges
  • Like in generation. This option allows you to automatically re-use the manifest characteristics specified during the last generation of application.
For more details on the different manifests, see Choosing a manifest for Vista.
WINDEV

Other user account

WINDEV allows you to run the test of the project in a directory by using a user account different from the current one. This allows you to run the test of the project by using rights other than the rights granted to the user currently connected.
Indeed, in most cases, you are the administrator of your computer when developing an application. In most cases, the users of your applications are standard users. This operating mode is even truer in Windows Vista.
WINDEV allows you to run the test of your applications as a standard user: you can quickly identify all your applications problems due to invalid rights, and therefore correct your applications if necessary.
Note: We recommend combining this option with:
  • the use of a runtime directory. For Windows Vista, the runtime directory and the data directory must correspond to the Vista standards.
  • the use of a manifest (if your development computer is running XP).
Attention: Rights management is only taken into account for disks using an NTFS file system. For the FAT32 file systems, the management of rights is not taken into account.
To run the tests by using another user account:
  1. Create (if necessary) one or more users on your computer. New users can be created from the control panel of Windows ("User accounts").
  2. In the "Other user account" tab, specify the characteristics of the user to be used: Name, Password, Domain.
  3. The next application test will be run with this user.
Note: you cannot use a Administrator manifest with a local user that belongs to the administrator group.
WINDEV

Debug options

WINDEV allows you to configure the debugging options specific to the test mode.
The available options are as follows:
  • Ignorar temporizadores: This option is used to disable the timers during the debugging.
  • systematically stop on exceptions, errors or unverified assertions. In this case, in debugging mode:
    • the error window is not displayed,
    • the debugger is directly positioned on the corresponding line of code.
  • Trace project: This option launches the default project in "step-by-step" mode.
These options are also available in the "Debugger" pane of the ribbon, during the test mode.
Versión mínima requerida
  • Versión 15
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 01/02/2025

Señalar un error o enviar una sugerencia | Ayuda local