- How to?
- Testing a static site (or the static part of a site)
- Stopping the project test
- Test browser
Running the test of a static project
The test of the entire project allows simulating the startup of the site. This makes it possible to test the entire site, even if its development is not complete yet.
Remark: The test of a project can be run regardless of the current element in the editor.
Testing a static site (or the static part of a site)
To run the test of a static site from the editor:
- On the "Project" tab, in the "Test mode" group, expand "Test mode" and select "Debug project from the home page".
- The editor is automatically minimized and the project is run in the default browser.
- The home page appears.
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 first page (if this control has an entry process) (browser code).
: If your site has no home page, WEBDEV proposes to define a home page for your site. For more details, see Home page
Caution: To run the test of a static site, the Web server installed on the development computer must be started.
Stopping the project test
Several methods can be used to stop the test:
- 1st method: Close the browser in which the test is run. WEBDEV displays the editor open when the test was started.
- 2nd method: Go back to the editor with the taskbar (or Alt + Tab) and confirm that the test must be stopped. WEBDEV displays the editor open when the test was started.
To select the test browser, go to the "Project" tab, "Test mode" group, expand "Test mode" and select "Test browser".
The default browser is defined in the WEBDEV options:
- On the "Home" tab, in the "Environment" group, expand "Options" and select "General options of WEBDEV".
- Display the "Web" tab.
For more details, see WEBDEV options