Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » [Blog] Regression testing with RCPTT
[Blog] Regression testing with RCPTT [message #1468824] Tue, 11 November 2014 04:54 Go to next message
Ivan Inozemtsev is currently offline Ivan InozemtsevFriend
Messages: 0
Registered: January 2015
Discussion topic for blog post https://www.eclipse.org/rcptt/blog/2014/09/19/regression-testing.html
Re: [Blog] Regression testing with RCPTT [message #1752088 is a reply to message #1468824] Wed, 18 January 2017 16:54 Go to previous message
Abel Hegedus is currently offline Abel HegedusFriend
Messages: 197
Registered: September 2015
Senior Member
Great post!

I found it after struggling with my RCPTT test hanging when displaying the dialog in case anyone runs into the same problem and also finds your blog post:

The Eclipse Compare Editor shows the "No differences" dialog from a running job [1], while RCPTT will wait for any jobs to finish before doing any UI steps [2]. In order to successfully execute the test, you need to disable job waiting temporarily [3]:

exec-with-options -disableJobWaiting -command {
  get-window Compare | get-label "There are no differences between the selected inputs." | get-property caption 
    | equals "There are no differences between the selected inputs." | verify-true
  get-window Compare | get-button OK | click
}


Otherwise, the execution will simply get stuck without any feedback on what is happening. The only information is that a paused stack trace will be at the sleep method in DisplayAspect.aj [4].

[1] org.eclipse.compare.internal.CompareEditor.initializeInBackground(CompareEditorInput, boolean) calls org.eclipse.compare.internal.CompareEditor.createCompareControl() calls org.eclipse.compare.internal.CompareUIPlugin.handleNoDifference()
[2] https://www.eclipse.org/forums/index.php?t=msg&th=823887&goto=1438438&#msg_1438438
[3] https://www.eclipse.org/forums/index.php?t=msg&th=931383&goto=1563572&#msg_1563572
[4] http://git.eclipse.org/c/rcptt/org.eclipse.rcptt.git/tree/runtime/tesla/org.eclipse.rcptt.tesla.swt.aspects/src/org/eclipse/rcptt/tesla/swt/aspects/DisplayAspect.aj?id=f557d95588db3351839162ea6fd0546fb29f2b4f#n84
Previous Topic:How to check log output of Tomcat runtime with RCPTT
Next Topic:Vaadin new project displays blank Maven archetype selection
Goto Forum:
  


Current Time: Sat Apr 20 09:13:26 GMT 2024

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

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

Back to the top