PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Overview
  • List of available tests
  • Run an automatic test
  • Remarks
  • Display the results of tests
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
When an automatic test is created, this test is in "construction" by default.
Several operations can be performed on an automatic test from the test manager:
  • Change its status (make a test available for example).
  • View the status report of test.
  • Modify the test code.
  • Modify the test description.
You can also:
Remark: Use in Windows Vista and later: To record and replay the automatic unit tests, the UAC mechanism must be disabled.
List of available tests
The list of existing automatic tests can be viewed in the "Tests" folder of "Project explorer" pane.
The different scenarios are grouped according to the element whose test is run (or according to the element that started the automatic test). For example, "TEST_WIN_addressinput" groups all the test scenarios run from the "WIN_addressinput" window.
Run an automatic test
Several methods can be used to run the tests, from the product used or from the test manager.
To run all tests of current window in the editor:
  1. Check whether the requested window is opened in the window editor.
  2. On the "Automatic tests" pane, in the "Tests" group, click "See associated tests".
  3. In the test manager, position on the test name and select "Start all the tests in the list" from the popup menu.
To run a test from the test manager, all you have to do is choose the requested test and select "Run" from the popup menu.
To run all the tests displayed in the test manager, all you have to do is select "Run all the tests found in the list" from the popup menu of test manager.
To run all the project tests, on the "Automatic tests" pane, in the "Tests" group, expand "Run" and select "Run all the project tests".

Remarks

  • To enable the dynamic audit during the automatic tests, on the "Automatic tests" pane, in the "Tests" group, expand "Run" and select "Enable the dynamic audit during the automatic tests". The dynamic audit will be automatically run during the automatic tests and the report window for the dynamic audit will be displayed at the end of the test execution.
  • The dashboard of the project allows you to quickly find out the number of tests in construction, validated, passed, ...
  • The tests can be run at slow speed to see the actions performed for example: on the "Automatic tests" pane, in the "Tests" group, expand "Run" and select "Run the tests at slow speed".
Display the results of tests
To display the result of automatic tests on a project, on the "Automatic tests" pane, in the "Tests" group, click "Show the results". The result of tests is displayed in the "Results of tests" pane.
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment