Test Studio’s IF Conditional steps are extraordinarily handy feature which enable you to handle branching in your tests based on specific conditions. There are a number of scenarios where this can ensure your tests are a bit more robust—logging in to your system if needed is one example. (Note: There are also many situations where I recommend against using conditionals. Don’t use them to conflate separate test cases. Keep your test cases simple, specific, and granular!)
Here’s a tip I just learned today: Editing an IF conditional’s verification. This is nice feature because it allows you to update your conditional without having to add in a completely different verification and replace the existing one.
Select the test step with the IF in it, then scroll down the properties window to the Verifications node. Expand that and you’ll have full access to all the context-specific properties of the verification that was embedded in to the IF. You can change comparison strings, types, etc., all from these fields!
Subscribe to be the first to get our expert-written articles and tutorials for developers!
All fields are required
We see that you have already chosen to receive marketing materials from us. If you wish to change this at any time you may do so by clicking here.