[Webtest] javascript link

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Wed, 23 May 2007 04:30:35 -0700 (PDT)


Hi,

first it seems that a   is missing in your html code.

Do you want to click the 1st (which in fact isn't a link) or 2nd link?=20
For the first one:
<clickElement xpath=3D"//img[@alt =3D 'Aceptar y publicar']"/>
and for the 2nd one
<clickLink xpath=3D"//a[img/@alt =3D 'Editar']"/>

Marc.


Francisco Javier Martin Gutierrez wrote:
>=20
> Hello:
>=20
> I try to click the next link but there is a problem because there are mor=
e
> than one links similar, so I need to store the link contained in
> javascript
> code.
>=20
>  #=20
>=20
>  img/boton_aceptarpublicar.gif =20
>=20
>  #=20
>=20
>  img/bt_editar.gif  </td>
>=20
> =20
>=20
> I have tried it but I don=C2=92t know how storeRegEx Works. Please, can y=
ou
> tell
> me how can I do it?=20
>=20
> =20
>=20
> Thank You.
>=20
> =20
>=20
>=20
> Francisco Javier Mart=C3=ADn=20
> Desarrollo de Proyectos - Valladolid
> Security Solutions & Services Division=20
>=20
>=20
>=20
>=20
>=20
> Edif. Solar, Of. 13, 14, 15
> Parque Tecnol=C3=B3gico Boecillo. 47151 Valladolid. Espa=C3=B1a
> Tel.: 983 54 65 55   Fax: 983 54 66 09
>=20
>=20
>=20
>=20
> =20
>=20
>=20
>=20
> AVISO LEGAL: La informacion contenida en este mensaje y cualquier
> documento adjunto en el mismo es confidencial, puede estar legalmente
> protegida y esta dirigida solamente al destinatario. La publicacion, uso,
> distribucion, impresion o copia no autorizada del contenido de este
> mensaje, esta estrictamente prohibida y puede ser ilegal. Si Vd. ha
> recibido este mensaje por error, le rogamos destruya el mensaje y lo
> notifique al remitente o llame al telefono (+34) 91 556 92 62.
>=20
> DISCLAIMER: The information contained in this message and any attached
> document is confidential, covered by law and intended solely for the
> recipient. The distribution, print, publication, unauthorised copy and /
> or use of the message content is strictly forbidden and could be deemed
> illegal. If you are not the intended recipient of this message, we reques=
t
> that you destroy it and notify the sender either in writing or by calling
> ++34 91 556 92 62.
>=20
> =20
> =20
>=20

--=20
View this message in context: http://www.nabble.com/javascript-link-tf38029=
12.html#a10762052
Sent from the WebTest mailing list archive at Nabble.com.