[Wtr-general] [question] Does the Click method accepts coordinates?

Rodrigo Julian Martin rodrigo.martin at enratio.com
Tue Apr 25 15:16:58 EDT 2006


Hello!

 

I'm developing a test for a web page, and I've found a .gif image which
acts as a menu, mapped by coordinates... Is there a way of telling watir
to .Click by coordinates?

 

The file uses the folowing map:

 

<MAP NAME="menu_home">

<AREA SHAPE=RECT COORDS="0,0,69,22" HREF="/browse_categ.ml"
id="MENU:BROWSECATEG">

<AREA SHAPE=RECT COORDS="69,0,129,22" HREF="/jm/sell" id="MENU:VENDER">

<AREA SHAPE=RECT COORDS="129,0,190,22" HREF="/finditem.ml"
id="MENU:BUSC">

<AREA SHAPE=RECT COORDS="190,0,311,22"
HREF="p_loadhtml?as_menu=M04S00&as_html_code=PORTAL_MIML"
id="MENU:MIML">

<AREA SHAPE=RECT COORDS="311,0,418,22" HREF="/jm/mercadopago"
id="MENU:MPAGO">

<AREA SHAPE=RECT COORDS="418,0,512,22" HREF="/foros_home.ml"
id="MENU:FOROS">

<AREA SHAPE=RECT COORDS="512,0,581,22" HREF="org_ayuda.main"
id="MENU:AYUDAS">

</MAP></td>

 

Thanks in Advance!

By the way, I'm still fighting against modal dialogs... but I'll win
sooner or later =P

 

Cheers

Rodrigo J. Martin.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060425/18535eaf/attachment.html 


More information about the Wtr-general mailing list