[SOLVED] I cannot store result of the command to variable [message #1440470] |
Wed, 08 October 2014 08:01  |
Eclipse User |
|
|
|
I have the following code:
let
[val t1 [get-item "MGW" | get-property "caption" | equals "MGW"]]
[val t2 [get-item "MGW" | get-property "selected" | equals "true"]]
[val t3 [get-item "MGW" | get-property "image.path" | equals "test"]]
{
and [$t1][$t2][$t3]|verify-true
}
It does not work. Error:
Expected Boolean-convertible argument but got class org.eclipse.rcptt.tesla.ecl.model.impl.VerifyHandlerImpl
It works separately like: $t1 | verify-true
looks like the variables are not set to boolean, but definition of "equals" says it returns true or false. I want my test to contain 3 verifications and at the end fail the test if at least 1 verification failed.
Please help me to adjust my code.
thanks!
[Updated on: Wed, 30 September 2015 02:27] by Moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03793 seconds