How to set default value for action @ActionParameter ?

  • 1 Replies
  • 432 Views
How to set default value for action @ActionParameter ?
« on: July 30, 2018, 18:18:32 pm »
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;

Re: How to set default value for action @ActionParameter ?
« Reply #1 on: July 31, 2018, 15:26:48 pm »
Hello,

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

Thanks.

 

Sitemap 1 2 3 4 5 6 7 8