Hi,
We don't have a specific API that returns the percentage but using
AppScan.Scan.ScanData you can retrieve information needed in order to
calculate percentage.
So for example to retrieve the test percentage you would do the
following:
void ScanData_TestsCountersChanged(object sender,
TestCountersEventArgs args)
{
int percent = 0;
long CurrentPhaseTests = scan.ScanData.CurrentPhaseTests;
if (CurrentPhaseTests> 0)
{
percent = (int)((scan.ScanData.CurrentPhaseTested *
100) / CurrentPhaseTests );
}
}
Hope this helps.