Skip to main content



      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 05:34 Go to next message
Eclipse UserFriend
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 04:10 Go to previous message
Eclipse UserFriend
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: Fri Mar 21 17:48:09 EDT 2025

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

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

Back to the top