Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Attachmate & IE: Accessing a hidden name\Id element.

Status
Not open for further replies.

Christadelphian

Technical User
Feb 17, 2008
14
GB
Hello All,

I am wondering if anyone can help please?
I am writing an Attachmate Macro which will open an intranet webpage, and will edit several values within a form before submitting the form. The problem I am having is discovering the name or ID of the certain form elements I want to manipulate. Several of the webpage elements have the same name, so I am unable to change their values. I don't have MS Front Page to help me steer round this.
I also thought about the possibility of having the Explorer page Tab through the relevant elements until it highlights the fields I want, yet I am unable to get IE to send the tab command, to the web page.

Can anyone help me expand either of these ideas please, before I go bald from pulling my hair out??

I have included a snippet of the intranet page, so you can view those fields with the same name.

Any help would be greatly appreciated.....

<TR>
<TD ALIGN="left" bgcolor="#ffffff" style="BORDER-BOTTOM: #DFDFDF 1px solid" > <font face="Tahoma" size = 1>New AppointmentDate (DD/MM/YYYY)</TD>
<TD bgcolor="#ffffff" style="BORDER-BOTTOM: #DFDFDF 1px solid" ><font face="Tahoma" size=1>
<INPUT type="TEXT" value="18/08/2009" size = "100" style="font-family: Tahoma; font-size: 8pt"
<INPUT TYPE="hidden" NAME="V_BLANK_VALUE" VALUE="18/08/2009">
</font></td>
</TR>
<TR>
<TD ALIGN="left" bgcolor="#e4f7e4" style="BORDER-BOTTOM: #DFDFDF 1px solid" > <font face="Tahoma" size = 1>New AppointmentReference</TD>
<TD bgcolor="#e4f7e4" style="BORDER-BOTTOM: #DFDFDF 1px solid" ><font face="Tahoma" size=1>
<INPUT type="TEXT" value="136BGWEA" size = "100" style="font-family: Tahoma; font-size: 8pt"
<INPUT TYPE="hidden" NAME="V_BLANK_VALUE" VALUE="136BGWEA">
</font></td>
</TR>
<TR>
<TD ALIGN="left" bgcolor="#ffffff" style="BORDER-BOTTOM: #DFDFDF 1px solid" > <font face="Tahoma" size = 1>Appointment Slot</TD>
<TD bgcolor="#ffffff" style="BORDER-BOTTOM: #DFDFDF 1px solid" ><font face="Tahoma" size=1>
<SELECT NAME="v_blank_value" value=t_sys_ftr_name_valid_val(t_sys_ftr_name_valid_val.COUNT) style = "font-family: Tahoma; font-size: 8pt">
<OPTION SELECTED>AM
<OPTION>PM
</SELECT>
</font></td>
</TR>
<TR>
<TD ALIGN="left" bgcolor="#e4f7e4" style="BORDER-BOTTOM: #DFDFDF 1px solid" > <font face="Tahoma" size = 1>CCD</TD>
<TD bgcolor="#e4f7e4" style="BORDER-BOTTOM: #DFDFDF 1px solid" ><font face="Tahoma" size=1>
<INPUT type="TEXT" value="" size = "100" style="font-family: Tahoma; font-size: 8pt"
<INPUT TYPE="hidden" NAME="V_BLANK_VALUE" VALUE="">
</font></td>
</TR>
</td>
</TR>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top