Forum Discussion
CaryB
11 years agoContributor
w00t!
I figured it out without having to manually do anything with the API. I knew there had to be a way. Just took a bit for the gears to click together in my mind.
Solution
1. Create my own action group.
I figured out that the groups were named by the class they're tied to. So if my class was MyCustomStuff.java I just needed to tack "Actions" to the end of it for my id. Once I did that, WsdlTestStepSoapUIActionGroup worked its magic and implemented the default actions (Open Editor and the enable toggle).
2. Make sure I have hasEditor set to false in my constructor so I only get the toggle and not the "Open Editor" option as well.
super(testCase, config, false, forLoadTest);
This took longer than expected to figure out but I've got what I want.
I figured it out without having to manually do anything with the API. I knew there had to be a way. Just took a bit for the gears to click together in my mind.
Solution
1. Create my own action group.
<tns:actionGroup name="My Actions" id="MyCustomStuffActions"
class="com.eviware.soapui.impl.wsdl.actions.teststep.WsdlTestStepSoapUIActionGroup">
</tns:actionGroup>
I figured out that the groups were named by the class they're tied to. So if my class was MyCustomStuff.java I just needed to tack "Actions" to the end of it for my id. Once I did that, WsdlTestStepSoapUIActionGroup worked its magic and implemented the default actions (Open Editor and the enable toggle).
2. Make sure I have hasEditor set to false in my constructor so I only get the toggle and not the "Open Editor" option as well.
super(testCase, config, false, forLoadTest);
This took longer than expected to figure out but I've got what I want.
Related Content
- 8 years ago
- 7 years ago
Recent Discussions
- 22 days ago