PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Running the test of a static site (or the static part of a site)
  • Special case: the static site contains semi-dynamic pages
  • Stopping the test of a project
  • Notes
  • Test browser
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.
Note: The test of a project can be run regardless of the current element in the editor.
How to proceed?

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

To run the test of a static site from the editor:
  1. Select "Project .. Test mode .. Debug the project from the home page" ( ).On the "Project" pane, in the "Test mode" group, expand "Test mode" and select "Debug the project from the home page".
  2. The editor is automatically minimized and the project is run in the default browser.
  3. The home page is displayed.
When running the project test, the following processes are run before the first page is opened:
  • loading the first page (browser code).
  • entering the first control of the first page (if this control has an entry process) (browser code).
Note: If your site has no home page, WEBDEV proposes to define a home page for your site. See Home page for more details.
Caution: To run the test of a static site, the Web server installed on the development computer must be started.

Special case: the static site contains semi-dynamic pages

Before running the test of the project, you must generate the HTML pages corresponding to the semi-dynamic pages.
To generate the semi-dynamic pages:
  1. Check the configuration of the data files to use in test.
    Display the project description ("Project .. Project description").Display the project description: on the "Project" pane, in the "Project" group, click "Description". In the "File" 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.
  2. Generate the help pages with WDGenPage ("Tools .. WDGenPage").Generate the help pages with WDGenPage. To start this tool, on the "Tools" pane, in the "Web utilities" group, click "WDGenPage".
See WDGenPage 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

Test browser

Select the test browser via "Project .. Test browser...".
The default browser is defined in the options of WEBDEV ("Tools .. Options .. WEBDEV options", "Web" tab).
To select the test browser, on the "Project" pane, in the "Test mode" group, expand "Test mode" and select "Test browser...".
The default browser is defined in the WEBDEV options:
  • On the "Home" pane, in the "Environment" group, expand "Options" and select "General options of WEBDEV".
  • Display the "Web" tab.
See WEBDEV options for more details.
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment