Forum Discussion

leonmoto's avatar
leonmoto
Occasional Contributor
5 years ago
Solved

Use dynamic parameters for TestItem

Hey,

I would like to structure my test sequence via TestItems in TestComplete. But I ran into one problem:

I want to start my TestItems (TI) out of the script with dynamic/changing parameters. Is this possible? I could not figure out, how to hand over a variable to the TI.

 

Thank you for your help.

  • When assigning the parameters in your test items, you can select a Variable as an option.  This would be either a Project or Project Suite level variable.  So, all you would have to do is make sure that you create the appropriate variables and update them in the course of your automation execution.

     

1 Reply

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    When assigning the parameters in your test items, you can select a Variable as an option.  This would be either a Project or Project Suite level variable.  So, all you would have to do is make sure that you create the appropriate variables and update them in the course of your automation execution.