Question
Infosys Limited
IN
Last activity: 17 Feb 2021 12:10 EST
Image Proxy error while taking screenshot
Hi
I have developed 1 web Application Automation ,where in at 1 particular case Bot has to take the Screenshot and have to save it.
I am taking the Image proxy of that webpage control and using the method Save of that Proxy.
In Unattended mode ,Bot unable to get the Screenshot and getting the Exception as below
2) Exception Information
*********************************************
Exception Type: System.NullReferenceException
Message: "GetWorkingInstance() could not get instance from TypeProxy. InstanceName: imageProxy7"
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: System.Object GetWorkingInstance(OpenSpan.Automation.ConnectableHost, OpenSpan.Automation.ExecutionEventArgs)
HelpLink: NULL
Source: "OpenSpan.Automation"
HResult: -2147467261