I am trying to find if there is a way to skip a certain data source entry based on one of its value? The idea is that, I want to give each value a priority classification (1, 2, and 3... etc.…) on the project property add a property called priority and give it a numeric value, for example 1. When I run all the test cases, I would like that only test cases that has equal or greater than the project priority to be executed. Any idea on how to approach this?
As far as I am aware, there's no built in way to handle this. Instead, if you need this functionality, you may need to consider writing a groovy script that can interpret the required data fields from the Data Source and adjust the necessary test steps accordingly. I'd set it up something like this:
Analyze data set from Data Source
If it is valid, proceed as normal
If the data fails requirements, use groovy to disable the following tests.
Test Steps using DataSource data
These depend on what you are testing
Groovy script to set all test steps back to their default state
Does that help?
Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!