Hi all, 
I have a link of this type 
a href="#" onclick="new 
Ajax.Request('/data_entry/ajax_add_term/133?contract_id=227', 
{asynchronous:true, evalScripts:true}); return false;">add a term ;;;;; 

I am accesing this type of link in watir using the way, 
ie.link(:html,/ajax_add_term\/133/).click this is working fine.

Later I started accessing all the links,textfields etc from the fixtures.
so in my fixture I used ajax_add_term: /ajax_add_term\/133/
and in my code i used ie.link(:html,@link.ajax_add_term).click then its not 
working but this is working for all the text fields, remaining links etc., and 
only not for the ajax links. 
This is the error it is throwing::

Exception: Unable to locate object, using html and /ajax_add_term\/133/

Could any body please help me wat can i do??

Thanks in Advance,
Harish
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6723&messageID=19338#19338
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to