What is the maximum allowed length for a random string generated with RANDOMTEXT?

Prepare for the Tricentis Tosca Automation Specialist Level 1 (AS1) Test. Enhance your skills with multiple choice questions and explanations. Be exam ready!

Multiple Choice

What is the maximum allowed length for a random string generated with RANDOMTEXT?

Explanation:
RANDOMTEXT uses a length parameter to decide how many characters to generate, and in Tosca that length has a hard upper bound of 1024 characters. So the longest random string you can request is 1024 characters; requesting more isn't allowed. The other lengths are either shorter than the maximum or exceed it (2048), so they’re not the maximum. The key idea is that the function caps the output size at 1024 to keep generation predictable and resource-friendly.

RANDOMTEXT uses a length parameter to decide how many characters to generate, and in Tosca that length has a hard upper bound of 1024 characters. So the longest random string you can request is 1024 characters; requesting more isn't allowed. The other lengths are either shorter than the maximum or exceed it (2048), so they’re not the maximum. The key idea is that the function caps the output size at 1024 to keep generation predictable and resource-friendly.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy