[Seaside] WebTester Locator Argument Accessor

Joel Turnbull 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
test?

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 :-)
>
> Grzt
>
> Bart
>
> 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"
>> ]/input'.
>>
>> and then in my test do this...
>>
>>     ( self link: 'an in-place editor' ) click.
>>     self waitForElementPresent: input locator argument.
>>     input text: 'some input'
>>
>> Joel
>>
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>
>
> --
> 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
> Einstein
> 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
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110302/2528b93d/attachment.htm


More information about the seaside mailing list