Overriding ServerDown event with Pyscan

21 views
Skip to first unread message

Jeff

unread,
May 18, 2007, 1:25:59 PM5/18/07
to AXF - General Discussion
Hello

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

Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Watchfire AXF

unread,
May 20, 2007, 11:17:37 AM5/20/07
to axf-general...@googlegroups.com
Hello 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

Jeff

unread,
May 21, 2007, 3:15:58 PM5/21/07
to AXF - General Discussion
Hello 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

Reply all
Reply to author
Forward
0 new messages