getting Bitmap exception on captureBitmap() method for desktop application in silktest workbench
With _desktop.FormsWindow("AppMainWindow")
.CaptureBitmap("C:\Snapshots\ErrorImage.PNG")
.PushButton("buttonOK").Click()
End With
Exception:
Silk Test Workbench
Playback error in the .NET Script 'TestSuiteDriver':
SilkTest.Ntf.BitmapNotStableException:
Bitmap failed to stabilize.
added the below code in vb.net script.
Agent.SetOption(Options.BitmapMatchCount, 0)
Agent.SetOption(Options.BitmapMatchInterval,0)
Agent.SetOption(Options.BitmapMatchTimeout,0)
but still getting the exception.
Need to configure something in the Silk Test Workbench?