In Controller Tester, an error occurs if you enter an invalid value for input value or expected value of the test case.
- Ex 1. When entering a negative value into a
unsigned int
type variable. - Ex 2. When entering a value less than -128 or greater than 127 in a
char
type variable.
How to enter invalid values in test data
The variable used in the example is b
and is of type char
.
- In Test view, right-click the function to enter an invalide value and export test data.
- Open the exported test data file(.csv).
- Enter values according to the file format and save.
Need more help with this?
Don’t hesitate to contact us here.