Skip to main content



      Home
Home » Archived » Jubula » Behavior of BREAK is not as expected when suite and testcases are configured differently
Behavior of BREAK is not as expected when suite and testcases are configured differently [message #1113080] Fri, 20 September 2013 12:02 Go to next message
Eclipse UserFriend
Hi,

I have following config

Test-Suite (CONTINUE on Action Error)
  |- TC01
       |- Step1  
       |- Step2 (Error occurs here)
       |- Step3
       |->> Event Handler (BREAK on Action Error)
  |- TC02
       |- Step1  
       |- Step2
       |- Step3
       |->> Event Handler (BREAK on Action Error)

....
....
....



As per my understanding BREAK should stop further execution of the testcase in a test-suite and move on to the next testcase in the same suite

Here, on error (at TC01->Step2), the event handler gets invoked but Jubula continues with next step (TC01->Step3) execution

Am I missing or messing up the config somewhere Rolling Eyes

Appreciate for your help

Thanks,
Bhupendra
Re: Behavior of BREAK is not as expected when suite and testcases are configured differently [message #1114793 is a reply to message #1113080] Mon, 23 September 2013 04:03 Go to previous messageGo to next message
Eclipse UserFriend
Hi Bhupendra,

Could you add the HTML test result report? Thanks!

Alex
Re: Behavior of BREAK is not as expected when suite and testcases are configured differently [message #1130476 is a reply to message #1114793] Wed, 09 October 2013 11:55 Go to previous messageGo to next message
Eclipse UserFriend
hey,
I had the same problem.
i tried to generate the html report but it was only 4 empty pages in the BIRT Report Viewer which was opened automatically.

Sascha

EDIT: sry, that was the wrong button. here is the html report

[Updated on: Thu, 10 October 2013 03:22] by Moderator

Re: Behavior of BREAK is not as expected when suite and testcases are configured differently [message #1131123 is a reply to message #1130476] Thu, 10 October 2013 04:03 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the report. It sounds like you don't want to be using BREAK, rather that you should be using RETURN.

The documentation on the difference between BREAK and RETURN is here.

There was also another forum thread where the difference was described : here.

Hope that helps!
Alex
Re: Behavior of BREAK is not as expected when suite and testcases are configured differently [message #1131163 is a reply to message #1131123] Thu, 10 October 2013 04:54 Go to previous messageGo to next message
Eclipse UserFriend
hey,

so return seems to work if I define several test cases. In my test, there was only one test case with different data stes. I want to run the same test case with the next data set when the check fails. Is there a solution for this, too?
Otherwise i will define a own test case for every data set as workaround.

greetings
Re: Behavior of BREAK is not as expected when suite and testcases are configured differently [message #1131194 is a reply to message #1131163] Thu, 10 October 2013 05:29 Go to previous message
Eclipse UserFriend
Ah, yes. Data sets. That is indeed the case where neither return nor break will help you I'm afraid.
The workaround would be as you described.

Best regards,
Alex
Previous Topic:"Default Event Handler" is triggered instead of my customized handler
Next Topic:Accessibility plugins - problems staying up to date
Goto Forum:
  


Current Time: Tue Jul 15 22:37:35 EDT 2025

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

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

Back to the top