TestProject Forum
Powered by leading experts in the test automation community

How to set default value for action @ActionParameter?

I saw the action addon example here:
https://github.com/testproject-io/java-sdk-examples/blob/master/Android/Addon/src/main/java/io/testproject/examples/sdk/java/TypeRandomPhone.java

And I would like to know if there is option to set default value.
I did not found how to do it.

It would be nice if you add this option… something like
@ActionParameter(defaultValue = 10)
public int timeOut;

Hello,

At this point default values are not supported for Actions,
but we will consider adding this in the future.

Thanks.