If variable==null

Hi, im trying the following and it doesnt work:

if | variable==null
echo | variable is null
else
echo | Variable is not null

Is this not allowed ?

Where can i find xomplete list of conditions that the If would support ?

Hello,
it seems, that KR(BE) stores all variables as text. (can be wrong on this but it seems that way), so even null value e.g. from javascript script will be stored as ‘null’


results:

[info] Playing test case Untitled Test Suite / __Sandbox
[info] Time: Mon Feb 18 2019 06:28:29 GMT+0200 (Eastern European Standard Time) Timestamp: 1550464109155
[info] OS: Windows Version: 10
[info] Browser: Chrome Version: 72.0
[info] If the test cannot start, please refresh the active browser tab
[info] Executing: | storeEval | 'xxx'.match(/[aeiou]/gi) | var1 |
[info] Store 'null' into 'var1'
[info] Executing: | store | 5 | var2 |
[info] Store '5' into 'var2'
[info] Executing: | if | var1 == 'null' | |
[info] Executing: | echo | NULL!!! | |
[info] echo: NULL!!!
[info] Executing: | else | | |
[info] Executing: | echo | NOT NULL!!! | |
[info] Executing: | endIf | | |
[info] Time: Mon Feb 18 2019 06:28:29 GMT+0200 (Eastern European Standard Time) Timestamp: 1550464109314
[info] Test case passed