Llenar input de web con el mismo nombre
Publicado por David (3 intervenciones) el 15/06/2018 20:53:57
Hola, buenas tardes por favor si me pudieran ayudar para poder llenar los index de una pagina web que tiene el mismo nombre de input
Este es el código de la WEB
Lo he probado asi
Agradecería su apoyo.
Saludos
Este es el código de la WEB
1
2
3
4
5
6
7
8
9
10
11
<td class="Formulario"><input type="text" name="Cantidad[]" size="10" onkeypress="return SoloNumeros(event)" maxlength="6">
<input type="hidden" name="Articulo[]" value="13259">
MT </td>
<td class="Formulario"><input type="text" name="Cantidad[]" size="10" onkeypress="return SoloNumeros(event)" maxlength="6">
<input type="hidden" name="Articulo[]" value="1000">
MT </td>
<td class="Formulario"><input type="text" name="Cantidad[]" size="10" onkeypress="return SoloNumeros(event)" maxlength="6">
<input type="hidden" name="Articulo[]" value="300">
MT </td>
Lo he probado asi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Sub RellenarWEB()
Dim IE As Object
Set IE = CreateObject("InternetExplorer.application")
IE.Navigate "Mi web"
Do
DoEvents
Loop Until IE.readystate = 4
IE.document.getelementbyid("Cantidad[]").Value = "1233"
IE.document.getelementbyid("cantidad[]").Value = "13990"
IE.Visible = True
End Sub
Agradecería su apoyo.
Saludos
Valora esta pregunta


0