IE

  • Thread starter Thread starter fi.or.jp.de
  • Start date Start date
F

fi.or.jp.de

Hi all,

I have web interactive macro, which logs into the web & get some
data.


I have no problem in getting data.


But I have option to save data in PDF.


I am able to click the "Click to Save" button & it opens new window &
i need to click ok button.


I am not able to click.


To navigate to the web need username & password, which is
confidential.


Please help me.
 
Hi all,
I have web interactive macro, which logs into the web& get some
data.
I have no problem in getting data.
But I have option to save data in PDF.
I am able to click the "Click to Save" button& it opens new window&
i need to click ok button.
I am not able to click.
To navigate to the web need username& password, which is
confidential.
Please help me.

Post the relevant source code.
 
here's the source code for ok & cancel button

</div>
<ul class="ulFormActionButton"
id="accounts_view_broker_formActionButton_ul">
<li id="accounts_view_broker_formActionButton_ul_li1">

<input class="buttonDefault" type="button"
name="html_save_save_to_pdf_ok_but" id="html_save_save_to_pdf_ok_but"
value="OK" title="Account Save PDF options for Broker"

onclick="javascript:submitNewFlavor(document.frmAccSaveAccPDFOptions,
'pdfSave');" />
</li>
<li id="accounts_view_broker_formActionButton_ul_li2">

<input class="buttonDefault" type="button"
name="html_cancel_save_to_pdf" id="html_cancel_save_to_pdf"
value="Cancel" title="Save selected account alert Cancel"
onclick="javascript:window.close();"/>
</li>
</ul>
 
here's the source code for ok& cancel button

<inputclass="buttonDefault"
type="button"
name="html_save_save_to_pdf_ok_but"
id="html_save_save_to_pdf_ok_but"
value="OK"
title="Account Save PDF options for Broker"
onclick="javascript:...snip...');"/>

<input class="buttonDefault"
type="button"
name="html_cancel_save_to_pdf"
id="html_cancel_save_to_pdf"
value="Cancel" title="Save selected account alert Cancel"
onclick="javascript:...snip..."/>

A post just previous to yours has a suggestion about how to handle an
element when you know its ID.

http://www.excelforum.com/excel-pro...el-to-complete-form-in-internet-explorer.html


Look at the last 6 lines of the example code.

Mike
 
Back
Top