if(AllForms[i].innerText == “form a”)
if(AllForms[i].innerText == “form b”)
… and so on for the following test cases.
What would be the best way to approach this when you have different values that are different within the same code and the code is being used in different test cases?
I wanted to use the code as a Paramenter for the step; however, I don;'t think I will be able to just pass a value(s) for the variable(s) depending on the test case(s).