RCPTT for testing sirius Diagrams [message #1806214] |
Mon, 06 May 2019 05:34  |
Eclipse User |
|
|
|
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.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02771 seconds