I am using Pyscan to run scans (starting with
appScan.Scan.Scan(1,1)). However, when Watchfire encounters a server
down, it throws up a dialog box "Communication Error" and my Pyscan
script stops until "OK" is clicked in this dialog box. I can trap the
ServerDown event but how can I clear/override the dialog box that
Watchfire produces from the script? Would running the scan via
appScan.Scan.ScanAsync(1,1) resolve the issue?
Thank you for any thoughts!
-Jeffrey
Thank you for pointing out this issue. Currently, there is no way to run a
scan from Pyscan, without having the dialog box block your script. However,
we are already working on a solution, which will be available in one of the
upcoming service packs, so stay tuned.
Thanks,
-Ory
Sounds good. A related question, I am also looking to process another
appScan.Scan.ScanEnded event, LicenseError. However, it appears that
when it appscan encounters this issue my script immediately stops
with:
InvalidLicenseException: Operation is not allowed due to License
restriction
at
Watchfire.AppScan.GuiLayerImpl.Scan.ScanManager.InternalScan(Boolean
explore, Boolean test, Boolean async)
at Watchfire.AppScan.GuiLayerImpl.Scan.ScanManager.Scan(Boolean
explore, Boolean test)
Is it possible to process this event without stopping script
execution?
Thank you!
-Jeffrey