Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » RCPTT has long timeout and fails replaying recorded scrtip
RCPTT has long timeout and fails replaying recorded scrtip [message #1789979] Fri, 01 June 2018 12:59
Niklaus Giger is currently offline Niklaus GigerFriend
Messages: 12
Registered: August 2011
Junior Member
I experimented using RCPTT for running GUI-Tests for our open source Eclipse RCP application Elexis.

I was quite impressed and it looks like having all the needed functionality to create efficiently GUI tests.

I am however stuck with the following error:

* When replaying the lines

Quote:

log "GetAllViews: Started 3"
get-menu -path "Fenster/Ansicht/Other..." | click
log "GetAllViews: Got Menu"
with [get-window "Show View"] {
log "GetAllViews: 2"
get-tree | select "Other/Fixmedikation"
log "GetAllViews: 3"
get-button Open | click
log "GetAllViews: 4"
}

I only see in the aut-ws-0/.metadata/.log

Quote:

!ENTRY org.eclipse.rcptt.runner 1 0 2018-06-01 14:35:38.994
!MESSAGE [AUT-0] Starting: GetAllViews.test (0 from 1)

!ENTRY org.eclipse.rcptt.runner 1 0 2018-06-01 14:38:34.619
!MESSAGE [AUT-0] Finished: GetAllViews.test in 175290, Execution timed out after 90 seconds (0 from 1)

Under https://github.com/ngiger/elexis-3-core/tree/rcptt you find the commit https://github.com/ngigerhttps://github.com/ngiger/elexis-3-core/commit/42e8492d2022a30e1e52e487fb795311b3f72cb8 which contains all the changes made to run a simple GUI test.

The steps to reproduce were (using maven 3.3.9) and java8:
* git clone https://github.com/ngiger/elexis-3-core.git
* cd elexis-3-core
* git checkout rcptt
* mvn clean verify -Pall-archs -Dmaven.test.skip=true
* cd GUI-tests/

Attached are:
* target/runner-workspace/.metadata/.log
* target/aut-ws-0/.metadata/.log
* log of maven run in GUI-tests
* HTML result: target/results/elexisBasicTests.html

It remarked, that when starting I get errors about the following missing bundles:
org.apache.ant, org.eclipse.jdt.core, org.eclipse.emf.common,org.eclipse.emf.common.ui.org.eclipse.emf.databinding,org.eclipse.emf.ecore

Does anybody have a hint? Is it our application that blocks an interaction? How must/can I add the missing bundles?

Thanks in advance for your feedback.
  • Attachment: .log
    (Size: 20.14KB, Downloaded 5 times)
  • Attachment: .log
    (Size: 67.45KB, Downloaded 2 times)
  • Attachment: maven.log
    (Size: 29.17KB, Downloaded 3 times)
  • Attachment: elexisBasicTests.html
    (Size: 60.27KB, Downloaded 3 times)
Previous Topic:RCPTT dont record user actions for Rational Functional Tester(RFT)
Next Topic:Test Runner: Target platform initialization failed
Goto Forum:
  


Current Time: Thu Jun 21 20:34:12 GMT 2018

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

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

Back to the top