Forum Discussion
- SiKingCommunity ExpertProperty expansion:
${<test_step_name>#<property_name>#}
- Reserve_Bank_ofNew ContributorThanks for the reply.
However I have developed a custom test step using the TestStepFactory. The result of the step running is stored in a property of the test step.
When using SOAPUI PRO, I can add a Assertion Step. In the Assertion Step editor I can add an assertion and select my test step and the property to assert. The only issue is all the assertions options are disabled.
What is it that I need to implement in my test step to enable the assertion options to be enabled?
Vikash - Hi,
You may need to create custom assertions using the TestAssertionFactory, as referenced here: http://www.soapui.org/Developers-Corner/custom-factories.html. The built-in assertions are active or inactive depending on whether they are applicable to the TestStep at hand. So your TestStep will need to be connected to an applicable assertion.
Regards,
Giscard
SmartBear Support - Reserve_Bank_ofNew ContributorThanks.
I found that the custom test step needed to implement Assertable and I used the AssertionSupport class for implementing much of the that. Once this was done the various assertions options became enabled in the Assertion Test Step.
Vikash