Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » background lazy View not selectable
background lazy View not selectable [message #1793830] Thu, 16 August 2018 16:25
Florian Hof is currently offline Florian HofFriend
Messages: 1
Registered: August 2018
Junior Member
Hello there,

I'm testing an RCP application where multiple Views are tabbed.
The first of the tabbed Views is shown and initalized, but not the others (second and so on). This lazy initializing of Views is actually a feature:

I create a test working on the second of the tabbed Views (called "Trassen"). Record and Replay works fine at first.
Then I add a Context reseting the Workbench and defining all the required views, to have a clean base for each test. The replay fails with following message:
Failed to execute the command on the disposed control ViewReference:Trassen.

How can I initialize or activate this view? "click" or "set-focus" doesn't works, I get the same error message. I couln't find something appropriate in the list

The workaround I find so far: let the test open the view whith the menu, selecting the view, approving. But that is cumbersome for my many views (and many tests, although I could put it in an Ecl Context).

For insider, the error message is defined in and throws in
Can the code of RCPTT be improved to initialize lazy views?

Many thanks for helping and/or improving!

[Updated on: Mon, 20 August 2018 08:31]

Report message to a moderator

Previous Topic:Button Click not working on Replay
Next Topic:RCPTT working with Eclipse Photon?
Goto Forum:

Current Time: Wed Jul 24 07:39:17 GMT 2024

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

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

Back to the top