02-19-2019 04:05 AM
Hello,
I am looking for a way to override MessagePopup (or any other) step in Teststand.
Prefferably I want this to happen in pre and post step callback in process model, so when my custom model is used I have desired behaviour.
Can I somehow in pre step callback tell Message Popup not to display native popup? Or can I override this popup by something else?
I have custom test step and this is doable by using custom substeps but then I have to use my custom popup that is alomst identical.
Thanks!
02-19-2019 08:24 AM
Maybe you can use a custom substep
In the Prestep callback of your process model, you have to test if the current step has a custom substep. If yes you can execute the custom substep ... or not, depending on what you want
The sequence in your PreStep callback is something like that
Regards
Laurent
02-19-2019 08:39 AM - edited 02-19-2019 08:40 AM
Thanks for reply.
I have looked into that but executing additional substep does not solve the issue. Post Substep will always execute.
I need to remove execution of Post Substep in MessagePopup or override it by my own (my assumption is that one displays message popup)
Modifying MessagePopup direcly is not an potion - it must work as usual when used with other process models.