Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » MacOS 10.9.2 - ub_cti_replaceText - Timeout received before confirming the posted event
MacOS 10.9.2 - ub_cti_replaceText - Timeout received before confirming the posted event [message #1341490] Thu, 08 May 2014 14:01 Go to next message
Michael Bauer is currently offline Michael BauerFriend
Messages: 2
Registered: May 2014
Junior Member
While running a test the contents of a textfield should be changed via ub_cti_replaceText.
Jubula moves the mouse pointer to the textfield, but then fails the test with the error "Timeout received before confirming the posted event".
This behaviour occurs on my MacOS 10.9.2 system with Jubula 8.0.0.
On a Win 7 system (also Jubula 8.0.0) the test works and ub_cti_replaceText does not return the error, but replaces the text successfully.
The project is based on Java7, swing, spring and we're using the synth look & feel.

Result Details
Timestamp        Thu May 08 15:47:37 CEST 2014
Test Step Name 	replace text
Step Type	Test Step
Test Result
Status	Step failed
Type	Action Error
Error Description	Timeout received before confirming the posted event
Component Detail
Component Name	QuickSearch_TextField_Search
Component Type	Component with Text Input
Heuristic Match	100%
Action Type	Replace Text
Test Data
Text	Ele*


Logfile ~/.jubula/logs/rc_swing.log:
2014-05-08 15:47:22.745 [Connection.ReaderThread:Socket[addr=/192.168.130.27,port=58795,localport=58801]] WARN  o.e.j.r.s.d.KeyReleasedEventMatcher - No event received for a key up event. This is most likely caused by a keystroke that closed a window
2014-05-08 15:47:25.014 [Connection.ReaderThread:Socket[addr=/192.168.130.27,port=58795,localport=58801]] WARN  o.e.j.r.s.d.KeyReleasedEventMatcher - No event received for a key up event. This is most likely caused by a keystroke that closed a window


Any help to solve this problem would be greatly appreciated.
Re: MacOS 10.9.2 - ub_cti_replaceText - Timeout received before confirming the posted event [message #1341631 is a reply to message #1341490] Thu, 08 May 2014 15:24 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi there,

Is this just happening for this textfield or does it happen for others as well? I understand from your description that the text isn't entered, but if you could confirm that's the case, that would help too. A workaround that could help at the moment would be to use "copy to clipboard" followed by a key combination to paste, or to click in the field once then perform "input text" using the "application" component.

Best regards,
Alex
Re: MacOS 10.9.2 - ub_cti_replaceText - Timeout received before confirming the posted event [message #1343192 is a reply to message #1341631] Fri, 09 May 2014 07:12 Go to previous messageGo to next message
Michael Bauer is currently offline Michael BauerFriend
Messages: 2
Registered: May 2014
Junior Member
Hi Alex,

it actually happens on other components as well. There is a button in the same parent component (the component is a JPanel containing a JTextField and a JButton). A ub_grc_click on the button also fails, as well as a ub_grc_click on the textfield; same error.
The ub_cti_replaceText on the textfield does not enter the text.

Supported Type (of the textfield):
javax.swing.text.JTextComponent

This is the hierarchy of the textfield:
frame1
javax.swing.JRootPane_1
null.layeredPane
null.contentPane
ToolbarPanel
de.testdomain.desktopClient.mainWindow.QuickSearch_1
TextFieldWithButton_2
TextFieldWithButton.textField

Best regards,
Michael
Re: MacOS 10.9.2 - ub_cti_replaceText - Timeout received before confirming the posted event [message #1349298 is a reply to message #1343192] Mon, 12 May 2014 06:17 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi there,

It occurred to me over the weekend what the problem probably is. It's the combination of Java 7 and Mac. We updated our support for Java 7 before the release, but Mac still has problems. If it's at all possible, I'd suggest using a Java 6 JRE for the AUT during the test.

Best regards,
Alex
Re: MacOS 10.9.2 - ub_cti_replaceText - Timeout received before confirming the posted event [message #1417494 is a reply to message #1349298] Fri, 05 September 2014 15:20 Go to previous messageGo to next message
Rene Eigenheer is currently offline Rene EigenheerFriend
Messages: 109
Registered: July 2009
Senior Member
Hi Alex

Is there a possibility to make it work with a Java 7 JRE?

best regards
Rene
Re: MacOS 10.9.2 - ub_cti_replaceText - Timeout received before confirming the posted event [message #1419187 is a reply to message #1417494] Mon, 08 September 2014 08:19 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi Rene,

We haven't looked any more at Java 7 with the mac - but we are going to be looking at Java 8 in the next couple of weeks. Are you having the same kinds of problems that were specified above?

Best regards,
Alex
Previous Topic:Can test cases contain java code?
Next Topic:Jubula External DLL
Goto Forum:
  


Current Time: Fri Mar 29 07:11:31 GMT 2024

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

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

Back to the top