KeyWord Mode: Is there a way to create conditional checkpoints?
Keyword Mode: Is there a way to create conditional checkpoints?
I have a test - which depending on the country I'm testing - will produce 3 different results in a Property Checkpoint I set up. All are valid, but I can only check one.
I thought there would be a method in Operation Parameters around 'Value', something like the Value can equal "A101 or A102 or A103", but no such luck.
Hi,
If I got your question right: as per http://support.smartbear.com/testcomplete/docs/keyword-testing/reference/checkpoints/property.html and http://support.smartbear.com/testcomplete/docs/reference/program-objects/aqobject/checkproperty.html, you may use either cmpIn condition or the cmpMatches one.
In the former case you should check against "A101,A102,A103" expression, while in the latter case - against "A10[1-3]" one (might require correction).