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? 
For the first one:
<clickElement xpath="//[EMAIL PROTECTED] = 'Aceptar y publicar']"/>
and for the 2nd one
<clickLink xpath="//a[img/@alt = 'Editar']"/>

Marc.


Francisco Javier Martin Gutierrez wrote:
> 
> Hello:
> 
> I try to click the next link but there is a problem because there are more
> than one links similar, so I need to store the link contained in
> javascript
> code.
> 
>  # 
> 
>  img/boton_aceptarpublicar.gif  
> 
>  # 
> 
>  img/bt_editar.gif  </td>
> 
>  
> 
> I have tried it but I don’t know how storeRegEx Works. Please, can you
> tell
> me how can I do it? 
> 
>  
> 
> Thank You.
> 
>  
> 
> 
> Francisco Javier Martín 
> Desarrollo de Proyectos - Valladolid
> Security Solutions & Services Division 
> 
> 
> 
> 
> 
> Edif. Solar, Of. 13, 14, 15
> Parque Tecnológico Boecillo. 47151 Valladolid. España
> Tel.: 983 54 65 55   Fax: 983 54 66 09
> 
> 
> 
> 
>  
> 
> 
> 
> 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.
> 
> 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 request
> that you destroy it and notify the sender either in writing or by calling
> ++34 91 556 92 62.
> 
>  
>  
> 

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

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to