PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WEBDEV 24 feature!
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
2. How to run a site test?
Previous pageTable of contentsNext page
Several tools can be used to run the test of a WEBDEV site:
  • the main editor of WEBDEV.
  • the WEBDEV administrator.
    This module is required to run a dynamic WEBDEV site (in Session mode or in AWP mode). On the development computer, the test of dynamic sites can be run from a test page created by the administrator.
  • WDTestSite, tool for running stress tests.
The table below presents how and when these test modes must be used.
Test modeType of testRunning the test
EditorRunning the test from the editor allows you to test:
  • the site features,
  • the code used in the different events and processes. A powerful debugger allows you to monitor the execution of different events and processes.
  • the use of the site with different browsers (installed on the development computer).
This type of test:
  • allows you to use the debugger.
  • is taken into account by the "Code Coverage".
  • On the "Project" pane, in the "Test mode" group, expand "Test mode" and select "Trace the project".
  • On the "Project" pane, in the "Test mode" group, expand "Test mode" and select "Debug the project from the home page".
The rights granted to the Web user (access rights, write rights and read rights) correspond to the rights granted to the developer.
WEBDEV administrator
(dynamic WEBDEV site only)
Running the test from the administrator allows you to test:
  • the site features,
  • the features specific to the Web (cookies, ...),
  • the use of the site in real conditions.
Start the WEBDEV administrator ("Start" menu) and click the "Test page" button ("Advanced" tab).
This test allows you to use the WEBDEV site in conditions similar to the ones of a Web user.
The rights granted to the Web user (access, write and read) correspond to the rights granted to the default Web user defined in the Web server used.
WDTestSite
(dynamic WEBDEV site only)
WDTestSite is used to run stress tests.
WDTestSite is used to start several simultaneous connections to a WEBDEV site.
Each connection performs a set of actions in the WEBDEV site (preset scenario).
This test must be run on a WEBDEV site installed on a deployment computer that is ready to operate.
  1. Create a test scenario (with WDTestSite).
  2. Install WDTestSite and the scenario on the different computers to simulate an important number of accesses.
  3. Specify the number of connections to establish.
  4. Run the test scenario on each computer.
Notes:
  • Each computer establishes a defined number of connections.
  • Each connection performs the selected scenario.
Automatic testsThe automatic tests are used to run the test of procedures and classes found in a site at different development levels.
The test scenarios are generated in WLanguage from the procedure test or from the class test. The scenarios can be modified in the code editor.
This type of test is taken into account by the "Code Coverage".
  1. Display the procedure or the class in the project explorer.
  2. Display the popup menu of the element (right mouse click) and select "Create a unit test".
Previous pageTable of contentsNext page
Minimum version required
  • Version 24
Comments
Click [Add] to post a comment