Forum Discussion
AlexanderM
Staff
14 years agoHi Motoo,
This happens when you define the same type several times. To avoid confusion with re-defining the same type from a different place, and then getting problems with calling functions that use this type for their parameters, TestComplete forbids redefining the types already defined during the test execution.
So, please move the types definition code to a procedure that is called only once during a test execution.