Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Event handler does not refresh retry count
Event handler does not refresh retry count [message #989519] Thu, 06 December 2012 15:23 Go to next message
Alexander Kolesov is currently offline Alexander KolesovFriend
Messages: 43
Registered: November 2012
Member
Hello, could you please evaluate the next problem.
Simple scenario:

1. Create keyword TEMP1:
- assign variable TEST1 value 1
- check if variable $TEST1 equals 2
EH on check failed:
- assign variable TEST1 value 1
- Retry attempts = 1

2. Create test case TEMP:
- assign variable ATEST value 'B'
- check if variable $ATEST equals 'B'
EH on check failed:
- run TEMP1 keyword
- Retry attempts = 10


Run test case TEMP.
Expected: EH keyword TEMP1 is executed 10 times. EH for keyword TEMP1 is also executed 10 times.
Problem: EH keyword TEMP1 is executed 10 times. EH for keyword TEMP1 is only executed 1 time.

Please check attached:
index.php/fa/12624/0/
  • Attachment: Jubula_EH.PNG
    (Size: 17.86KB, Downloaded 387 times)
Re: Event handler does not refresh retry count [message #990147 is a reply to message #989519] Tue, 11 December 2012 07:24 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

it looks like you're running into this issue. The workaround would be to set the retry count higher so that it doesn't "run out".

Hope that helps!
Alex
Re: Event handler does not refresh retry count [message #991082 is a reply to message #990147] Mon, 17 December 2012 10:13 Go to previous message
Alexander Kolesov is currently offline Alexander KolesovFriend
Messages: 43
Registered: November 2012
Member
Hi,

Yes, this is the same issue that I ran into while exploring how to make Jubula to navigate the tree to find a node by some criteria, and used that workaround also.

However for trees that a more than small' using of a big retry count can become a headache in case of some logic corruption in a keyword or a bug in application.
So, hope the isssue will be fixed soon.

Thanks,
Alex.
Previous Topic:Object remapping following a change in the GUI (HTML-AUT)
Next Topic:No Suitable driver found for jdbc:oracle:thin
Goto Forum:
  


Current Time: Fri Oct 04 21:47:30 GMT 2024

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

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

Back to the top