Skip to main content



      Home
Home » Archived » Jubula » Event handler does not refresh retry count
Event handler does not refresh retry count [message #989519] Thu, 06 December 2012 10:23 Go to next message
Eclipse UserFriend
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 417 times)
Re: Event handler does not refresh retry count [message #990147 is a reply to message #989519] Tue, 11 December 2012 02:24 Go to previous messageGo to next message
Eclipse UserFriend
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 05:13 Go to previous message
Eclipse UserFriend
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 Jul 25 20:44:58 EDT 2025

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

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

Back to the top