Action: ReadVariable Function : The action reads a variable from the controller to a test script. Call : Monitoring test driver Tip When reading a variable of type TOD , an object of type DateTime (.N
Action: ExecuteScript Function : The action runs a script in the script engine. Call : Scripting test driver Tip When you perform this action in CODESYS V3.5 SP5 or a later version, Python scripts tha
Action: Delay Function : This action waits for the specified time (in milliseconds) and then the test run is continued. Call : System test driver Tab: Configuration Delay [ms] Waiting time (in millise
Command: Add IEC Unit Test Function : The command adds an IEC Unit Test element in the test script editor. The element is positioned after the last test element in the selected test script or branch.
Creating a Test Project A test project which is suitable for a system test contains a compilable application with the system settings of the test system. Make sure that the test system is as similar a
Automating the System Test Example: Examples.CounterTest Tip You can find the CODESYS sample projects Bspdt-TestManager and CounterTest in the C:\ProgramData\CODESYS Test Manager directory. In a test
Dialog: Edit Repository Locations Function : The dialog manages the test repositories which are located on the file system of the development system. Call : Test Manager view, Edit Test Repository opt
Dialog: Add Unit Test Assertion Function : The dialog adds an assertion function for custom data types. Call : Project menu, Add Object command Context menu of the Application object, Add Object comma
Command: Comment Out / Uncomment Tip The following applies for the status "Commented Out" of script elements and for set breakpoints: They only have an effect on Debug Script , not on the ordinary Exe