Naga Harish Kanegolla wrote: > Hi all, > Till now I am using ie.link(:url,"http"//www.xyz/abc.html") for a link in > watir.Now I have a problem for the ajax link. i.e., the url obtained in the > html source is > <a href="#" onclick="new > Ajax.Request('/data_entry/ajax_add_term/131?contract_id=227', > {asynchronous:true, evalScripts:true}); return false;">add a term</a> > > So how could i use this url for the link in watir?? Please tell me the syntax > in watir for using such type of ajax links. Actually i am having the same > "add a term" more than 10 . so i can't use the text link.Please help me out > such types. > In addition to the other suggestions, this will work in 1.5:
ie.link(:html, /contract_id=227/).click _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general