Scripts to accept parameters when called from keyword tests
I want to create a script whereby it takes in parameters, e.g.
function IsCheckBoxEnabled (String Label, Object LabelObj)
I then want to invoke IsCheckBoxEnabled from a keyword test and pass in the two input variables.
Question: I want to pass as input parameters from object properties of the application under test.
I am running in issues where TestComplete fails the syntax check for the IsCheckBoxEnabled. It's not happy with the input parameters bit.
If I change it to:
Then the syntax passes.
Solved! Go to Solution.