Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Consider these parameters & values:

Image RemovedImage Added


You will have the following issue when you click on the “Scenarios” button:

Image RemovedImage Added

Even though the test calls for not adding the hotel, the data row proceeds to specify the preference and type of room, which is clearly incorrect.


To solve this problem, you first need to add “Not Applicable” as parameter values

Image RemovedImage Added

This is because something will need to appear in test cases that include the value “Do Not Add a Hotel”.

We will want “Not Applicable” to appear for both “Hotel Chain Preference” and “Type of Room” in every scenario that includes the value “Do Not Add a Hotel”.
Side note: the

Info

The exact syntax of the conditional value and its position in the list don't matter, it could have been "N/A" as the last value.


Next, you’ll want to make sure that “Do Not Add a Hotel” only gets paired with the “Not Applicable” Values. You have two options under the “Constraints” tab. One is quick, the other is slow. Let’s see the slow option, first:

Image RemovedImage Added

Namely, it’s adding a lot of “Invalid Constraints” as described in the previous article in this section.

...