Question
Ford Motor Company
IN
Last activity: 6 Apr 2022 9:44 EDT
Taking Screenshot in Universal Web Adaptor
Hi,
I am trying to capture screenshot of a form (This is a form control created during interrogation) opened in chrome. I am using GetScreenshot method to do so, but the screenshot doesnot capture the entire form. I am only able to get a part of it, is there any way to get complete screenshot. Also, if I try to use getscreenshot method on the webpage, I am not able to save the screenshot. To do so, I am taking a image proxy and I am trying to save it. Please find the exception message I am getting - GetWorkingInstance() could not get instance from TypeProxy. InstanceName: P_Homewhere P_Home is the name of proxy. The same automation works fine if I replace the getscreenshot method of the webpage with a different control (Form, Div..).
Any suggestiong regarding this are highly appreciated. Thank you.