What do you expect when clicking that link and how do you know that it didn't get clicked?
Jarmo Pertman ----- IT does really matter - http://itreallymatters.net On Oct 12, 8:38 am, User <[email protected]> wrote: > In my webapp I have a simple textfield. To this textfield I have a > jQuery function which will be always executed on every keyup. With > this function there is an Ajax request assigned which loads every time > the result of the SQL-Query. My code is equivalent to the code of > RailsCasts (www.railscasts.com/episodes/240-search-sort-paginate-with- > ajax). Now I'm testing my webapp with Selenium. With this line of code > browser.text_field(:id => 'textfield').set("Search text") the text > will be written and the content will be changed. After it should click > on a link which is placed on the dynamic content with this code > browser.a(:id => "link").click. The problem now is that the click > event won't be executed. Has somebody an idea what the problem could > be? Or maybe an example with Watir and Ajax? > > Thank you and regards > shub -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
