Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » JUBULA8.1:Variable seems to have no effect on change inside eventhandler(Jubula 8.1.0 Variable value is not changing)
JUBULA8.1:Variable seems to have no effect on change inside eventhandler [message #1695420] Thu, 14 May 2015 12:52 Go to next message
Rajesh Dash is currently offline Rajesh DashFriend
Messages: 35
Registered: January 2013
Member
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 148 times)
  • Attachment: jubula.PNG
    (Size: 12.19KB, Downloaded 156 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 #1695438 is a reply to message #1695420] Thu, 14 May 2015 16:11 Go to previous messageGo to next message
David Hickernell is currently offline David HickernellFriend
Messages: 85
Registered: October 2012
Member
The image shows that you are storing the false value without quotes, but storing the "true" value with quotes. Is that correct?

EDIT: I also notice that the second store step takes much less time than the first store step, which strikes me as suspicious and makes me think that it might not really be happening.

[Updated on: Thu, 14 May 2015 16:14]

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 Go to previous messageGo to next message
Rajesh Dash is currently offline Rajesh DashFriend
Messages: 35
Registered: January 2013
Member
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

Re: JUBULA8.1:Variable seems to have no effect on change inside eventhandler [message #1695775 is a reply to message #1695472] Tue, 19 May 2015 08:48 Go to previous messageGo to next message
Oliver Goetz is currently offline Oliver GoetzFriend
Messages: 219
Registered: May 2011
Senior Member
Hi,

I think the described behavior is the same which is mentioned in this ticket [1]. The "workaround" is described in comment 4.
Hope this helps.
Regards
Oliver
Re: JUBULA8.1:Variable seems to have no effect on change inside eventhandler [message #1695885 is a reply to message #1695775] Wed, 20 May 2015 06:06 Go to previous messageGo to next message
Rajesh Dash is currently offline Rajesh DashFriend
Messages: 35
Registered: January 2013
Member
Thanks for the help Oliver .Can you please paste the ticket id or link.
Thanks once again.

[Updated on: Wed, 20 May 2015 06:08]

Report message to a moderator

Re: JUBULA8.1:Variable seems to have no effect on change inside eventhandler [message #1695886 is a reply to message #1695885] Wed, 20 May 2015 06:14 Go to previous message
Oliver Goetz is currently offline Oliver GoetzFriend
Messages: 219
Registered: May 2011
Senior Member
Oh sorry,

I forgot to add the ticket Sad

https://bugs.eclipse.org/bugs/show_bug.cgi?id=404446

Regards
Oliver
Previous Topic:Is it possible to have multiple Jubula users connected to a PostgreSQL database?
Next Topic:missing jar file
Goto Forum:
  


Current Time: Sat Jul 27 10:25:19 GMT 2024

Powered by FUDForum. Page generated in 0.03974 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top