Forum Discussion

thaidy's avatar
thaidy
Occasional Contributor
4 years ago
Solved

TestComplete dynamic objects

Hello, 

 

I have started to use TestComplete a couple of weeks and I am developing tests to check if everything is okay in my device/application. My question is how I can check and count dynamic objects. Here is a concrete case, I have this series of Modules, each line is a different module. What I need to do is check if the health of the module is "OK". If the number of modules were always the same, it would be easy to check, but an external admin can add new modules under , for example "SysLog", or remove. In other words, if I record a test for 8 modules and an admin remove one, my test will give me error because I only checked 7 and the software will not find the 8th module, so I need a method that reads me the exact number of modules, for example, if I have 1 module I run the test for 1 module, if I have 6, run for 6. This is possible?

 

 

Thank you very much 😃