testsigma icon indicating copy to clipboard operation
testsigma copied to clipboard

Ability to Apply IF-Conditional on Test Profile Data

Open diveshmehta06 opened this issue 2 years ago • 0 comments

Discussed in https://github.com/testsigmahq/testsigma/discussions/20

Originally posted by sfzhao99 March 9, 2022 It would be great if the IF-Conditional for the Test Case steps can be used on the Data Profiles data. Currently the IF-Conditional only apply to elements on the page. It would be great if there was a feature for "If @|total| greater than 1000", then do some action, else do some action. It would make the data-driven test cases more flexible and avoid duplication.

However am wondering if that would make test cases too complicated at the same time, I guess it's up to the test case developer? Happy to have a discussion around this

diveshmehta06 avatar Mar 14 '22 07:03 diveshmehta06