Ask a Question

Use dynamic parameters for TestItem

SOLVED
leonmoto
Occasional Contributor

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.

1 REPLY 1
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.

 

2019-08-06 11_01_05-TestComplete - C__MySource_Sandbox_Sandbox.pjs.png


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: