PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Running the test of a dynamic site (or the test of the dynamic part of a site)
  • Running the test of the site features
  • Stopping the test of a project
  • Notes
  • The modules automatically started when running the test of a dynamic site
  • Test browser
  • Vista and UAC: Running a test
  • Directory of data files used for test
  • Checking the runtime environment before the test
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
Running the test of the entire project is used to simulate the start of the site. This allows you to run the test of the entire site, even if its development is not finished yet. As soon as a problem occurs in the execution of the project (server code only), the debugger can be started to identify and fix the problem.
Note: The test of a project can be run regardless of the current element in the editor.
This help page explains how to run the test of a project from the WEBDEV editor. The test of a dynamic project can also be run from the WEBDEV administrator.
For more details, see:
How to proceed?

Running the test of a dynamic site (or the test of the dynamic part of a site)

To run the test of a dynamic site from the editor:
  1. Select "Project .. Test mode .. Debug the project" ( or [Ctrl] + [F9]).On the "Project" pane, in the "Test Mode" group, expand "Test mode" and select "Debug the project".
    You also have the ability to click among the quick access button or press [Ctrl] + [F9].
  2. The editor is automatically minimized and the project is run in the default browser.
  3. The first dynamic page of the site is displayed.
When starting the test of the project, the following processes are run before opening the first dynamic page:
  • declaring classes,
  • initializing the project,
  • declaring the global variables of the first dynamic page,
  • initializing the first page,
  • initializing the controls found in the first page,
  • loading the first page,
  • entering the first control of the first page (if this control has an entry process).

Running the test of the site features

We recommend that you run the test all of the site features as well as the use of the browser Back key. See Managing the Back key for more details.

Stopping the test of a project

Several methods can be used to stop the test:
  • 1st method: Close the browser in which the test is run. WEBDEV displays the editor that was used at the beginning of test.
  • 2nd method: Go back to the editor with the taskbar or with [Alt] + [Tab] and confirm the ending of the test. WEBDEV displays the editor that was used at the beginning of test.
Notes

The modules automatically started when running the test of a dynamic site

The following modules are automatically started during a test:
  • The Web server installed on the computer and configured for WEBDEV when installing WEBDEV Development.
    The test cannot be run if the Web server is not started.
  • The WEBDEV administrator (WD230Admin.EXE).
    The administrator is used to manage the connections to the Web server and to configure the dynamic WEBDEV sites.
  • The WEBDEV engine (WD230AWP.EXE).
    The WEBDEV engine is used to manage the requests made by the Web users from their browser and to return the corresponding dynamic HTML page.
  • The Internet browser.
    The Internet browser is used to display the HTML pages of the WEBDEV site.

Test browser

To select the test browser:
  1. Select "Project .. Test browser".On the "Project" pane, in the "Test mode" group, expand "Test mode".
  2. Select the requested browser. Select "Test browser" and choose the requested browser.
Note: The default browser is defined in the options of WEBDEV ("Tools .. Options .. WEBDEV options", "Web" tab). See WEBDEV options for more details.Note: The default browser is defined in the WEBDEV options:
  1. On the "Home" pane, in the "Environment" group, expand "Options" and select "General options of WEBDEV".
  2. In the window of WEBDEV options, click the "Web" tab. See WEBDEV options for more details.
Tip: To select the browser used when running the test of the page, click the test icon of the page. The arrow on the right expands a menu allowing you to choose the browser that will be used for test.
Tip: To select the browser used when running the test of the page, click the test icon of the page among the quick access buttons. The arrow on the right expands a menu allowing you to choose the browser that will be used for test.

Vista and UAC: Running a test

Vista with UAC (user account control) enabled: If WEBDEV is started as administrator (option from the popup menu or "Run this program as administrator" in the properties of the executable), the guest account used by IIS7 must be part of the administrator group. Otherwise, an error is displayed in the browser.
Vista without the UAC enabled: If the Vista user is an administrator or a user from the administrator group, the guest account used by IIS 7 must be part of the administrator group. Otherwise, an error is displayed in the browser.

Directory of data files used for test

To configure the data files used when running the test of the site in the editor:
  1. Display the project description ("Project .. Project description").Display the project description: on the "Project" pane, in the "Project" group, click "Description".
  2. In the "Files" tab, select the location of test files:
    • Current directory: The data files will be found in the EXE sub-directory of the project.
    • Specific directory: The data files will be found in the specified directory.
Versions 15 and later

Checking the runtime environment before the test

Before running a project test, WEBDEV checks whether the test environment is properly configured.
If a problem is detected, WEBDEV proposes to display the diagnostic window:
Proposition of diagnostic for the test environment
The available options are as follows:
  • "Start the diagnostic" opens the window for detailed diagnostic.
  • "Run the test" ignores the diagnostic and runs the test. This option must be used if the diagnostic is incorrect.
  • "Cancels" cancels the test.
The window for detailed diagnostic is as follows:
Details of the diagnostic
This window performs a set of tests to check whether the test environment is properly configured.
For each detected error, a "Correct" button is used to automatically restore the correct test environment.
The "Help" button will be enabled if an additional help is available.
New in version 15

Checking the runtime environment before the test

Before running a project test, WEBDEV checks whether the test environment is properly configured.
If a problem is detected, WEBDEV proposes to display the diagnostic window:
Proposition of diagnostic for the test environment
The available options are as follows:
  • "Start the diagnostic" opens the window for detailed diagnostic.
  • "Run the test" ignores the diagnostic and runs the test. This option must be used if the diagnostic is incorrect.
  • "Cancels" cancels the test.
The window for detailed diagnostic is as follows:
Details of the diagnostic
This window performs a set of tests to check whether the test environment is properly configured.
For each detected error, a "Correct" button is used to automatically restore the correct test environment.
The "Help" button will be enabled if an additional help is available.

Checking the runtime environment before the test

Before running a project test, WEBDEV checks whether the test environment is properly configured.
If a problem is detected, WEBDEV proposes to display the diagnostic window:
Proposition of diagnostic for the test environment
The available options are as follows:
  • "Start the diagnostic" opens the window for detailed diagnostic.
  • "Run the test" ignores the diagnostic and runs the test. This option must be used if the diagnostic is incorrect.
  • "Cancels" cancels the test.
The window for detailed diagnostic is as follows:
Details of the diagnostic
This window performs a set of tests to check whether the test environment is properly configured.
For each detected error, a "Correct" button is used to automatically restore the correct test environment.
The "Help" button will be enabled if an additional help is available.
Minimum required version
  • Version 10
Comments
Click [Add] to post a comment