What is the syntax for Integer Random Values, Syntax 2?

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 syntax for Integer Random Values, Syntax 2?

Explanation:
Integer Random Values using Syntax 2 specify a range with two bounds in order: the first bracketed value is the lower limit, and the second is the upper limit. The result is a random integer between those two limits, inclusive. That’s why the correct form is {RND[Lower limit][Upper limit]}. The other options either refer to the different Syntax 1 (which uses a single value, like length, rather than a range) or mix up the order of the bounds, which would not define the intended range.

Integer Random Values using Syntax 2 specify a range with two bounds in order: the first bracketed value is the lower limit, and the second is the upper limit. The result is a random integer between those two limits, inclusive. That’s why the correct form is {RND[Lower limit][Upper limit]}. The other options either refer to the different Syntax 1 (which uses a single value, like length, rather than a range) or mix up the order of the bounds, which would not define the intended range.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy