[Seaside] WebTester Locator Argument Accessor

Bart Gauquie bart.gauquie at gmail.com
Thu Mar 3 07:17:57 UTC 2011


Have not tried it, but does this:
http://agiletesting.blogspot.com/2006/03/ajax-testing-with-selenium-using_21.html
serve your needs?

Grtz

Bart



On Thu, Mar 3, 2011 at 3:46 AM, Joel Turnbull <joelbywan at gmail.com> wrote:

>
> 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
>>
>>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110303/799bf68e/attachment-0001.htm


More information about the seaside mailing list