katalon-studio / katalon-studio-platform

Open source platform to develop plugins for Katalon Studio
Other
29 stars 12 forks source link

No TestSuiteController? #66

Open aiotcms opened 3 years ago

aiotcms commented 3 years ago

Hello,

I was working creating a plugin, which has a TestSuite Integration view. I am saving the settings from the TestSuite Integration view into an Integration object of TestSuite.

My ask is that post execution of the suite, I need to get the data from the Suite integration object, and so I need the TestSuiteEntity object in the EventListenerInitializer implementation.

I am able to get the Suite execution context as below:

ExecutionEvent eventObject = (ExecutionEvent) event.getProperty("org.eclipse.e4.data"); ProjectEntity project = ApplicationManager.getInstance().getProjectManager().getCurrentProject(); TestSuiteExecutionContext testSuiteContext = (TestSuiteExecutionContext) eventObject.getExecutionContext();

However, I am not able to get a handle of the TestSuiteEntity, since the only controllers available are: ApplicationManager.getInstance().getControllerManager().getController(TestSuiteCollectionController.class);

If a suite is not added to a collection, then the suite doesn't appear in the collection.

Any help will be appreciated.

aiotcms commented 3 years ago

Any updates?