- Parameters specific to the WLanguage test
- WLanguage code
Check: Test of a WLanguage code
The monitoring robot is used to compile and run the WLanguage code entered.
The check will be:
- successful if the WLanguage code was compiled and if it returns True.
- unsuccessful otherwise.
Parameters specific to the WLanguage test
Enter the WLanguage code used to run the requested test. This code is automatically compiled and the compilation errors (if they exist) are displayed in the bottom section of the screen.
- The WLanguage code typed must necessarily return True at run time to be considered as being valid.
- A specific status report can be specified via the [[STATUSREPORT]] variable. This status report will be included in the error report.
- The "Test" button is used to directly check the WLanguage code. If the [[STATUSREPORT]] variable was used, its content is displayed during the test.
- The monitoring robot supports the Unicode strings at runtime. Therefore, all the strings declared in the WLangage code are Unicode strings by default. When a check must exchange data with another process (via sockets, exchange files, ...), it may be necessary to declare the strings in ANSI if the other process is compiled to support strings in ANSI format. In this case, you must specify that the string is an ANSI string (declaration such as: MyString is Ansi string).
This page is also available for…