This is due to the interaction with the program. A cancellation token exists, but if it isn’t handled by the external program the Test Plan does not know the current state. We want to avoid explicitly sending task kills as that could cause issues depending on the application.
The way Abort normally works is it waits for an “OfferBreak” event to occur so it can ensure the state of execution.
My idea was that the SW team that integrated the Cancelation Token in OpenTAP could modfy the PackageManager more easy than it would be if it is another company.
i could create a testplan where user has to install the needed packages at start of testplan before an external sequence call is running that needs these packages.
All the objects are needed when the test step starts, so in some very specific cases you may be able to get this to work, but likely not in general. If you were sequencing test plans from a separate application/campaign manager, then you could do something like this, but I’d recommend using the REST API for that.
Regarding the stop/abort button, I think it would be great to have a visual indication that the button has already been pressed. Maybe it could change color.
@david-wsd I think this is a good compromise/improvement. We won’t be able to force an Abort (or an instrument to connect faster). But we can provide a better visual indication that we are waiting. Currently this can ger buried in the log. I will submit an inside for both.