From: Fan Jin Date: 2010-12-26T12:53:52+09:00 Subject: Re: how to know a search result is successfully displayed through its source codes Gordon Thiesfeld wrote in post #970235: > On Thu, Dec 23, 2010 at 12:54 AM, Gordon Thiesfeld > wrote: > >> Also, the click method returns the load time, so you could write it like this: >> > #set a key word in search field, then click the search button. > browser.text_field(:id, 'simpleSearchInput').set('test') > t = browser.link(:id,'simpleSearchSubmit').click > > puts "the system response time is: #{t}" > > > Sorry, I'm tired. Thanks, it was working now:> -- Posted via http://www.ruby-forum.com/.