JUBULA8.1:Variable seems to have no effect on change inside eventhandler [message #1695420] |
Thu, 14 May 2015 12:52 |
|
Hi all;
I have a test cases where some scenario like this
Have test case Testcase1:
- assign variable isvalue to 'false'
- check $isvalue to be equal 'true'
-thn it will go to the eventhandler where i will reassign the variable isvalue to true
-But after coming back from handler which is having retry steps it will fail.
My test execution report is attached below. Please have look at it.Any help or clue on this is appreciated
Note-I think this bug was there in 2.0 but solved in later stage .No clue why I am getting this in 8.1
-
Attachment: jubula2.PNG
(Size: 9.43KB, Downloaded 151 times) -
Attachment: jubula.PNG
(Size: 12.19KB, Downloaded 168 times)
[Updated on: Thu, 14 May 2015 13:20] Report message to a moderator
|
|
|
|
Re: JUBULA8.1:Variable seems to have no effect on change inside eventhandler [message #1695472 is a reply to message #1695438] |
Fri, 15 May 2015 04:11 |
|
I think the quote ismy mistake but i am quite sure that value changes are not reflecting.
while checking if $value matches "true"--->It should be interpreted as "true" matches "true"---> I found that I missed the quote here I tested and result is coming true and testcase passed.
The problem here is with the event handler where I am changing the value that value is not reflecting in main testcase.But if instead of doing in event handler I will do the change in main testcase then that change in value is reflecting
Please have a look at below images with testcase report
1st-Image which name is jubula i.e with eventhandler where I cannot see the change in variable
2nd-I removed the handler and put the changing of value in main tetscase.
then I can see the changes in variable. Here in 1st check the check returned me false which is intended and 2nd testcase it passes when I change the value .
[Updated on: Fri, 15 May 2015 04:13] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03634 seconds