[Seaside] WebTester Locator Argument Accessor

Bart Gauquie bart.gauquie at gmail.com
Wed Mar 2 17:59:44 UTC 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110302/c3a74e5b/attachment.htm


More information about the seaside mailing list