Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » How to ignore check failure on retry test logic
How to ignore check failure on retry test logic [message #1748809] Mon, 28 November 2016 21:51 Go to next message
Khanh Vu is currently offline Khanh VuFriend
Messages: 24
Registered: June 2016
Junior Member
I used test and retry logic to wait for my stable AUT component values.

index.php/fa/27719/0/

How do I configure the test case to ignore the expected failures in the early attempts which would pass at the final success test retry.

http://testing.bredex.de/wait-for-status-text-to-change.html
does not show how to suppress the expected failures for the retry logic

Thanks,
Khanh

[Updated on: Wed, 30 November 2016 10:12]

Report message to a moderator

Re: How to ignore check failure on retry test logic [message #1748828 is a reply to message #1748809] Tue, 29 November 2016 07:24 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hello Khanh,

From the image you have posted, the module "delay then retry at most 60 times" itself is failing each time. You have built a retry in using the "verify last scanned", and this succeeds finally, but the error is actually coming from the "delay then retry" module. Can you post the expanded test result for that module?

Best regards,
Alex
Re: How to ignore check failure on retry test logic [message #1748947 is a reply to message #1748828] Wed, 30 November 2016 10:25 Go to previous messageGo to next message
Khanh Vu is currently offline Khanh VuFriend
Messages: 24
Registered: June 2016
Junior Member
Hi Alex,

I attached three pictures with more details below.

https://www.eclipse.org/forums/index.php?t=getfile&id=27736&

https://www.eclipse.org/forums/index.php?t=getfile&id=27737&

index.php/fa/27738/0/

Thanks for your help,
Khanh
Re: How to ignore check failure on retry test logic [message #1749163 is a reply to message #1748947] Fri, 02 December 2016 13:51 Go to previous messageGo to next message
Khanh Vu is currently offline Khanh VuFriend
Messages: 24
Registered: June 2016
Junior Member
I need the ignore on the expected fails on retry logic because my test suites seems like they are failing all the time to other team members

index.php/fa/27756/0/

Thanks for your help,
Khanh
Re: How to ignore check failure on retry test logic [message #1749281 is a reply to message #1749163] Mon, 05 December 2016 08:14 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi Khanh,

The test is failing because the Event Handler "Delay.." itself has a failure in it. If I understand the test correctly, you do not need to add the two verifies in the Event Handler - the failed test step is automatically re-executed after a retry event handler. Check out the example here to see how it's done: http://testing.bredex.de/wait-for-status-text-to-change.html
There's also documentation here: http://testing.bredex.de/files/content/software/documentation/userManual/tasks/dealWithErrors/reentry-types.html

Best regards,
Alex
Re: How to ignore check failure on retry test logic [message #1749699 is a reply to message #1749281] Fri, 09 December 2016 20:17 Go to previous messageGo to next message
Khanh Vu is currently offline Khanh VuFriend
Messages: 24
Registered: June 2016
Junior Member
No Message Body
Re: How to ignore check failure on retry test logic [message #1749700 is a reply to message #1748809] Fri, 09 December 2016 20:26 Go to previous message
Khanh Vu is currently offline Khanh VuFriend
Messages: 24
Registered: June 2016
Junior Member
Hi Alex,

Hi Alex,
I simplified my test case steps and event handler parameters, following your links.
The test result look as expected now.

index.php/fa/27821/0/

index.php/fa/27822/0/



Thanks,
Khanh
Previous Topic:(JavaFX) Capturing objects inside a TabPane
Next Topic:Testing Eclipse (Mars) IDE with Jubula
Goto Forum:
  


Current Time: Fri Mar 29 01:55:39 GMT 2024

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

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

Back to the top