Any Verify command doesn't return any value. It can't be used on IF.
To Reproduce
This example shows the difference between the commands "verify element present" and "store". In the case of any "verify" commands, I am not able to get any return.
This example shows that since it is not returning any value it can't be used on if and shows the error ( if anyone knows how to fix it ).
Note: for the if as a target I also tried :
if | ${chromeBtn} == ${chromeBtn} -> Fail ( Unexpected token '{' )
if ${chromeBtn} == true -> Fail ( Unexpected token '{' )
if | 1 == 1 -> success ( worked - if does work )
Expected behavior
I imagined that much like the store command the "verify" commands would return a value ( true, false) that could be used in a conditional scenario.
Project file reproducing this issue (highly encouraged)
Please provide a project file .side that reproduces this issue.
mytest.zip
Environment
OS: Windows 10? OSX? -
Selenium IDE Version: LTS
Selenium SIDE Runner Version: LTS
Node version: 18.17.1
Browser: Chrome
Browser Version: 116.0.5845.96 (Official Build) (64-bit)
🐛 Bug Report
Any Verify command doesn't return any value. It can't be used on IF.
To Reproduce
This example shows the difference between the commands "verify element present" and "store". In the case of any "verify" commands, I am not able to get any return.
This example shows that since it is not returning any value it can't be used on if and shows the error ( if anyone knows how to fix it ). Note: for the if as a target I also tried : if | ${chromeBtn} == ${chromeBtn} -> Fail ( Unexpected token '{' ) if ${chromeBtn} == true -> Fail ( Unexpected token '{' ) if | 1 == 1 -> success ( worked - if does work )
Expected behavior
I imagined that much like the store command the "verify" commands would return a value ( true, false) that could be used in a conditional scenario.
Project file reproducing this issue (highly encouraged)
Please provide a project file
.side
that reproduces this issue. mytest.zipEnvironment
OS: Windows 10? OSX? - Selenium IDE Version: LTS Selenium SIDE Runner Version: LTS Node version: 18.17.1 Browser: Chrome Browser Version: 116.0.5845.96 (Official Build) (64-bit)