macheshmeh
2 years agoContributor
Reusing a block of code
a block of code is repeated in some of my tests , i want to create a class or function and call them to different tests instead of repeat the code each time , i know with keyword test we have the possibility the create data driven loop
can we create data driven loop in script also ?
or there is another way to call this part of test?
thanks for your help