[Seaside] WebTester Locator Argument Accessor

Joel Turnbull joelbywan at gmail.com
Mon Feb 28 03:06:47 UTC 2011


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


More information about the seaside mailing list