Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » RCPTT for testing sirius Diagrams(RCPTT tests for Sirius diagrams - diagram not available since eclipse photon migration)
RCPTT for testing sirius Diagrams [message #1806214] Mon, 06 May 2019 09:34 Go to next message
Shiva Samkaria is currently offline Shiva SamkariaFriend
Messages: 1
Registered: May 2019
Junior Member
We have 500 RCPTT testcases that test our Sirius diagrams. These are all passing when using Eclipse Oxygen. But when using Eclipse Photon some of the test fail arbitrarily. The cause is always that a diagram cannot be found at the start of a test.

As a workaround we added a wait of 5000 ms at the start of each testcase.

wait 5000

If we don't use this wait then considering our code below we ocassionally get error that daigram is unavailable .

get-view "Model Explorer" | get-tree | select "modelProj/someModel.someextension/Model someModel/SomeElement /coreDiagram" | double-click

Log of the error looks like below-

Line 4: select: Failed to set selection: [[modelProj, someModel.someextension, Model someModel, SomeElement , coreDiagram]].


Note: Above code has been anonymized for privacy reasons.
Re: RCPTT for testing sirius Diagrams [message #1806703 is a reply to message #1806214] Tue, 14 May 2019 08:10 Go to previous message
Alexander Dudaev is currently offline Alexander DudaevFriend
Messages: 1
Registered: May 2019
Junior Member
This issue may be related to the next long-standing eclipse bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=468427

You can send a minimal AUT and a RCPTT test reproducing the issue for a complete understanding.
Previous Topic:Script pass from rcptt but not from hudson
Next Topic:Why is rcptt-maven-plugin version 2.4.1 not yet available
Goto Forum:
  


Current Time: Thu Apr 18 13:07:44 GMT 2024

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

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

Back to the top