Forum Discussion

rhu's avatar
rhu
Contributor
9 months ago

How to user parameters in a data-driven loop?

I have the following scenario I use a Testcomplete Keywordtest to login to a customer page in  a search field  i enter some Text and press search if i get a result a button appears and will be p...
  • rraghvani's avatar
    rraghvani
    9 months ago

    You can pass a string variable like so /PSVar:carNames="BMW, Audi, Ford, Lexus" at the command line. You will then need to split and read each value of the string variable, which then becomes "BMW", "Audi", "Ford", "Lexus"