RCPTT has long timeout and fails replaying recorded scrtip [message #1789979] |
Fri, 01 June 2018 08:59  |
Eclipse User |
|
|
|
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 228 times)
Attachment: .log
(Size: 67.45KB, Downloaded 179 times)
Attachment: maven.log
(Size: 29.17KB, Downloaded 214 times)
Attachment: elexisBasicTests.html
(Size: 60.27KB, Downloaded 307 times)
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04430 seconds