Forum Discussion

Martin_Blass's avatar
Martin_Blass
New Contributor
8 years ago

Re: Help needed on parametrizing

Hi everybody, I am quite new to test complete and I am struggling a bit with parametrizing my Data-Driven Loop. I have two fields in my program that I need to fill from an Excel sheet. First field ...
  • tristaanogre's avatar
    8 years ago

    I moved this to a new topic since the one you posted this to is 7 years old and not EXACTLY the same content. :)

    In any case, in your usage where you're using the second field, instead of selecting it strictly as a "Variable", select it as a "Code Expression"

     

    For example, I have a keyword test called Test5 that is using an excel sheet in a variable called loopdata.  In an action/method call that I want to use the column data but I want the column to be parameterized, I enter it as a code expression like so

     

    KeywordTests.Test5.Variables.loopdata(KeywordTests.Test5.Parameters.Param1)