I run a tcl file from a TCL session on iTest and this gives a response which consist of a list of statistics. I want to be able to stop the test when the value of one of these statistics is greater than a certain number.
I've tried it by using analysis rules but it doesn't store the value properly, so I was thinking to do it by using prompts. However, I don't see in the properties of the TCL session any way to configure these prompts. How can I do this?
Maybe if there is a way where I can use the readFile function and read each line so I can check the responses of each line as an individual command?