umut_akdemir
11 years agoOccasional Contributor
UI Responsiveness in Script Extensions - Button handler while script is running
Hi,
I am writing a design time script extension for test complete. My extension runs a script, and it has a stop running button when it takes too long time.
The issue I have is when I debug my script via run method before saving it as an extension the stop running button is responsive, changing color when hovered and successfully stops the script when clicked.
However when I install scripts as an extension once I start the inner script with run button the stop running button is not responsive anymore nothing happens when I click and hovering does not change its color. It is as if the UI has a separate thread listening in debug mode and only one thread running as a script extension.
Is there a way to fix this and have a stop script button? How can I do it?
I am writing a design time script extension for test complete. My extension runs a script, and it has a stop running button when it takes too long time.
The issue I have is when I debug my script via run method before saving it as an extension the stop running button is responsive, changing color when hovered and successfully stops the script when clicked.
However when I install scripts as an extension once I start the inner script with run button the stop running button is not responsive anymore nothing happens when I click and hovering does not change its color. It is as if the UI has a separate thread listening in debug mode and only one thread running as a script extension.
Is there a way to fix this and have a stop script button? How can I do it?