Forum Discussion

agiletestware's avatar
agiletestware
Occasional Contributor
14 years ago

custom project actions not showing up in composite project

Hello,
I have a custom action which I defined under bin/action/qc-action.xml as

<tns:action id="ExportQualityCenter" actionClass="QualityCenter.demo.ExportQualityCenter"/>
<tns:actionGroup id="EnabledWsdlProjectActions">
<tns:actionMapping actionId="ExportQualityCenter" position="BEFORE" positionRef="ShowOnlineSoapUIHelp"/>
</tns:actionGroup>

groovy code for ExportQualityCenter

class ExportQualityCenter extends AbstractSoapUIAction
{
public ExportQualityCenter()
{
super( "Export to Quality Center", "Export soapUI project to Qualtiy Center TestPlan" )
}

...

This works fine for a normal soapUI project and I can see a 'export to Quality Center' option when right-clicking the project name. However, the action does not show up on a composite project. Not sure what is wrong.

Thanks

Agiletestware

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    you need to add the action to the CompositeWsdlProjectActions group also, ie add another actionGroup with this ID.. does that help?

    regards!

    /Ole
    eviware.com