Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » AUT from sources(Launching RCPTT tests on AUT from sources (runtime workbench) hangs)
icon9.gif  AUT from sources [message #1735020] Tue, 14 June 2016 16:51 Go to next message
John Moule is currently offline John MouleFriend
Messages: 9
Registered: March 2014
Junior Member
Launching RCPTT tests on AUT from sources (runtime workbench) hangs.

I've recently started using RCPTT and love it! It works well for me running from the RCPTT IDE and Test Runner via Maven Plugin if I have a built AUT. However, while developing a feature in my Eclipse SDK and running using a runtime workbench I'd like the opportunity to develop RCPTT tests and use my runtime workbench as the AUT. I presume this scenario is the same as described here:

https://www.eclipse.org/rcptt/documentation/faq/install-as-plugin/

I've followed the advice in this FAQ, but am having mixed results. Often when launching an RCPTT test from my SDK the AUT launch hangs.
To reproduce:

In my SDK, without the AUT launched, I open an RCPTT test and press the Replay button.
Observe the "Select an Application Under Test" dialog appears.
Choose my "Eclipse Application under Test"* and click OK.
Observe a modal dialog with the following text:
Progress Information
Operation in progress...
[Cancel]

The AUT (my runtime workbench) launches and the SDK progress bar reports:

Launching test (2%)

The launch stays like this until timeout (default is 600 seconds).
Observe, after the timeout, the following dialog opens:

AUT Connection Error
AUT connection has been failing for 530 seconds
Would you like to view the log file
Yes/No

Occasionally the launch does not hang and I can see my test executed. But mostly it hangs.

Test setup:
SDK: eclipse-committers-mars-2 (windows 8.2)

SDK Workspace: empty

RCPTT installation:
updatesite: http://download.eclipse.org/rcptt/release/2.0.2/repository/
RCPTT IDE 2.0.2.201511100835 org.eclipse.rcptt.platform.feature.group
Copy four plugins:
org.eclipse.equinox.weaving.aspectj_qualifier.jar
org.eclipse.equinox.weaving.hook_qualifier.jar
org.aspectj.runtime_qualifier.jar
org.aspectj.weaver_qualifier.jar
from:
eclipse-committers-mars-2\eclipse\plugins\org.eclipse.rcptt.updates.aspectj.e44x_2.0.2.201511100655\dependencies\plugins
to
eclipse-committers-mars-2\eclipse\plugins

RCPTT test (welcome) simply opens the About box:
get-about-menu | click
get-window "About Eclipse Platform" | get-button OK | click
welcome.launch

Eclipse Application launch configuration: all defaults.
Eclipse_Application_launch_configuration

Eclipse Application under Test launch configuration: all defaults and pointing to Eclipse Application launch configuration.
Eclipse_Application_under_Test_launch_configuration.launch

Preferences: changed "RCP Testing Tool > Advanced options > Runtime Limits > Time RCPTT wait for AUT application to startup (sec)" from 600 to 60. This allows quicker turnaround when I'm experimenting with this fault.

Attached: rcptt_launch_logs.zip
Re: AUT from sources [message #1735366 is a reply to message #1735020] Fri, 17 June 2016 16:24 Go to previous message
John Moule is currently offline John MouleFriend
Messages: 9
Registered: March 2014
Junior Member
Is launching RCPTT tests on AUT from sources working for others?
Previous Topic:Installing custom plugins on RCPTT configured AUT instance using p2 update-site
Next Topic:Exception: org.eclipse.swt.SWTException: Widget is disposed
Goto Forum:
  


Current Time: Tue Apr 16 19:11:07 GMT 2024

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

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

Back to the top