mqscript_rnd
Generate random numbers within a specified range for use in mobile automation scripts, enabling randomized testing and dynamic behavior simulation.
Instructions
Generate random number between 0 and specified maximum
Input Schema
Name | Required | Description | Default |
---|---|---|---|
max | No | Maximum value (exclusive) | |
resultVariable | No | Variable name to store result | result |
Input Schema (JSON Schema)
{
"properties": {
"max": {
"default": 1,
"description": "Maximum value (exclusive)",
"type": "number"
},
"resultVariable": {
"default": "result",
"description": "Variable name to store result",
"type": "string"
}
},
"required": [],
"type": "object"
}