Page 1 of 1

SAVE_ELEMENT_SCREENSHOT - Captcha

Posted: Mon Aug 21, 2017 1:15 pm
by dioggoms
Hello Guys, I'have tried to save the captcha screenshot, however I have the error message below. When I try to do that with FX it works correctly...

IE 11.1480+14393.0

VERSION BUILD=10.4.28.1074
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://www.receita.fazenda.gov.br/pessoaJuridica/CNPJ/CNPJREVA/CNPJREVA_solicitacao.asp
FRAME NAME=main
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:frmConsulta ATTR=NAME:cnpj CONTENT=xxxxxxxxxxxxxxx

ONDOWNLOAD FOLDER=C:\Users\Diogo_Souza\Documents\iMacros\Macros\FILE FILE=captcha.png WAIT=YES

TAG POS=1 TYPE=IMG FORM=NAME:frmConsulta ATTR=HREF:"http://www.receita.fazenda.gov.br/pessoaJuridica/CNPJ/CNPJREVA/captcha/gerarCaptcha.asp" CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT


Error message:

Error -1000: Cannot copy the item being saved to destination file: C:\Users\Diogo_Souza\Documents\iMacros\Macros\FILE\captcha.png The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)). Line 11: TAG POS=1 TYPE=IMG FORM=NAME:frmConsulta ATTR=HREF:"http://www.receita.fazenda.gov.br/pessoaJuridica/CNPJ/CNPJREVA/captcha/gerarCaptcha.asp" CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT