question

ira avatar image
ira asked ira posted

Verifying an alarm did not occur

Is there a way to verify that a certain alarm did not occur during my test case execution? I tried to open a second connection to the device and perform a repeat step but it looks like the steps from the first session are not going to run until the repeat step times out.

iTest
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
PaulD avatar image
PaulD answered PaulD posted

Are you aware that iTest test cases support multi-threading?  On any step, you can open the step properties and check the box that says, "Start this step in a new thread".  From that point, that step will continue running, while execution in the current thread proceeds onto the next step.  

 

So you can use a thread to check for alarms while the rest of your test case runs to completion.    The checkbox immediately below lets you control whether to wait for that background thread to complete, or to end it when the test case ends.  In your case, you'll want to check that second box, too, so that you don't have to worry about shutting down your alarm checking thread at the end.

1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ira avatar image ira commented ·

I was not aware of that.  I will try it and see if I can get it to work. Thanks

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.