Toad World® Forums

A function has couple of tests, can we pass same input values for all the test cases


#1

A function has couple of test cases, can we pass same input values for all the test cases


#2

This task can be accomplished with a global variable defined in the test definition customization. Then you will reference the variable in the case inputs. Please see the following picture and identify the marked areas.

Common input value.png

With that setup I was able to have a common input value for two test cases.

Best regards,

Ferdinand


#3

Thank you, This is helpful

Haritha