Dear, good afternoon!
Can you help me?
Must click a button on a website, but can not.
Below is the source code of the page:
'<TD class=clsCampo2 align=left><SPAN id=DetalhesProposta1_lblPropostaD>Proposta Mapfre</SPAN>: </TD>
<TD style="WIDTH: 300px" align=left><SPAN id=DetalhesProposta1_lblPropostaDValue>10407846860628243</SPAN> <INPUT style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" id=DetalhesProposta1_lnkbtnDocumentoEletronico onclick="window.open('/EntradaPropostas/ImprimirProposta.aspx?NumeroNSU=10407846860628243','', 'resizable=no, menubar=no,scrollbars=yes,width=100,height=100');" src="../Imagens/print.gif" type=image name=DetalhesProposta1$lnkbtnDocumentoEletronico> </TD>
<TD style="BACKGROUND-COLOR: #eee" colSpan=2 align=middle><SPAN id=DetalhesProposta1_lblPropostaConciliadaD>Proposta Conciliada com TronWeb</SPAN>: </TD></TR><TD class=clsCampo2 align=left><SPAN id=DetalhesProposta1_lblPropostaD>Proposta Mapfre</SPAN>: </TD>
<TD style="WIDTH: 300px" align=left><SPAN id=DetalhesProposta1_lblPropostaDValue>10407846860628243</SPAN> <INPUT style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" id=DetalhesProposta1_lnkbtnDocumentoEletronico onclick="window.open('/EntradaPropostas/ImprimirProposta.aspx?NumeroNSU=10407846860628243','', 'resizable=no, menubar=no,scrollbars=yes,width=100,height=100');" src="../Imagens/print.gif" type=image name=DetalhesProposta1$lnkbtnDocumentoEletronico> </TD>
<TD style="BACKGROUND-COLOR: #eee" colSpan=2 align=middle><SPAN id=DetalhesProposta1_lblPropostaConciliadaD>Proposta Conciliada com TronWeb</SPAN>: </TD></TR>'
I am use below macro code:
.document.getelementByID("DetalhesProposta1_lnkbtnDocumentoEletronico").cli ck
But dont funcion
Can help me?