[wtr-general] How to click on a span id?

2010-08-12 Thread Chan Nguyen
I want to go to this page http://norcalmls.rapmlsstg.com/
And then click on Find Properties - BAREIS MLS; however I don't know
how :( ? I tried:

browser.link( :id, findarealtor ).click

But compiler said: Unable to locate element?
Any idea?

Thanks,

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] How to click on a span id?

2010-08-12 Thread Eric Mathiesen
Are you in a frame perhaps?  Try using show_frames and show_all_elements,
its saved me tons of time.

On Aug 12, 2010 8:31 AM, Chan Nguyen atbl1...@gmail.com wrote:

I want to go to this page http://norcalmls.rapmlsstg.com/
And then click on Find Properties - BAREIS MLS; however I don't know
how :( ? I tried:

browser.link( :id, findarealtor ).click

But compiler said: Unable to locate element?
Any idea?

Thanks,

--
Before posting, please read http://watir.com/support. In short: search
before you ask, be nice.

You received this message because you are subscribed to
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe:
watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] How to click on a span id?

2010-08-12 Thread Basim Baassiri
It is clear from the source the html element associated with
id findarealtor is a span and not a
try
browser.image(:name, findrealestateprof).click

On Thu, Aug 12, 2010 at 11:30 AM, Chan Nguyen atbl1...@gmail.com wrote:

 I want to go to this page http://norcalmls.rapmlsstg.com/
 And then click on Find Properties - BAREIS MLS; however I don't know
 how :( ? I tried:

 browser.link( :id, findarealtor ).click

 But compiler said: Unable to locate element?
 Any idea?

 Thanks,

 --
 Before posting, please read http://watir.com/support. In short: search
 before you ask, be nice.

 You received this message because you are subscribed to
 http://groups.google.com/group/watir-general
 To post: watir-general@googlegroups.com
 To unsubscribe: 
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com


-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com