[Seaside] WebTester Locator Argument Accessor
joelbywan at gmail.com
Thu Mar 3 02:46:20 UTC 2011
Hey, have you found a good way introduce a small pause into a WebTester
Something similar to waitForPageToLoad, but for jquery actions that change
the page without reloading it. Something other that waitForElementPresent.
I tried sending the selenium 'pause' command, but selenium server 2.0b2
didn't seem to recognize it...
'Could not execute command pause with params: #(''20000'') result was:
ERROR: Unknown command: ''pause'''
On Wed, Mar 2, 2011 at 12:59 PM, Bart Gauquie <bart.gauquie at gmail.com>wrote:
> Go ahead :-)
> On Mon, Feb 28, 2011 at 4:06 AM, Joel Turnbull <joelbywan at gmail.com>wrote:
>> I was wondering what the contributors to WebTester think about adding an
>> accessor for argument to WtSeleniumLocator?
>> The reason I ask is I'd like to, in setUp, do something like this...
>> input := self textFieldByXPath: '//span[ @class = "TextInPlaceEditor"
>> and then in my test do this...
>> ( self link: 'an in-place editor' ) click.
>> self waitForElementPresent: input locator argument.
>> input text: 'some input'
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
> imagination is more important than knowledge - Albert Einstein
> Logic will get you from A to B. Imagination will take you everywhere -
> Albert Einstein
> Learn from yesterday, live for today, hope for tomorrow. The important
> thing is not to stop questioning. - Albert Einstein
> The true sign of intelligence is not knowledge but imagination. - Albert
> However beautiful the strategy, you should occasionally look at the
> results. - Sir Winston Churchill
> It's not enough that we do our best; sometimes we have to do what's
> required. - Sir Winston Churchill
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside