Welcome to the Ranorex Support Portal

How Do I Create Ranged Values?

So you have a test model such as shown below:

You are trying to test a ratings engine. You know the business rules require age ranges to be tested. You thought that descriptive fields would work.

Descriptions vs. Numbers

Instead of descriptions, maybe you could use the numbers for the ones you want tested.

And what about Boundary Testing?

You need to test around the cutoffs for certain business rules, too. But that adds too many values.

Let DesignWise generate your values!

Creating a ranged value solves all these problems and more! Using the syntax ‘number space hyphen space number’ or ‘# – #’, DesignWise will recognize this as a range of values to choose from.

Additionally, DesignWise will view a ranged value as a set of numbers inclusive of your endpoints. Therefore, DesignWise will in effect boundary test your range and then randomly choose numbers from within that range (as it needs for tests).

Your tests will never be the same

See below how the ranged values above turn into values to use in your tests.

Caveat Emptor!

DesignWise can recognize many options for ranges. We recommend having the same number of decimals across all numbers in a range. Additionally, all ranged values must not overlap. The tool will not recognize logic like in alphanumeric codes either.

See below for an example of ranges as inputs followed by the outputs provided.



Get the latest test automation information right in your mailbox.


© 2024 Ranorex GmbH. All Rights Reserved