Hi John & Paul,

verifyText in the current version is misleading. I think that we should
deprecate it and rename it to something like verifyResponseText.

Nevertheless we need a step to verify text in the current state of the
page. verifyText is probably the best name, but it makes the deprecation
complicated.

We need to precisely define how this "new verifyText" should work. For
instance I guess that <*new verifyText* text="Hello John"/> should pass for
  Hello <em>John</em>
but what is with
  Hello <div>John</div>
or
  <table>
  <tr>
    <td>Hello</td>
  </tr>
  <tr>
    <td>John</td>
  </tr>
  </table>


Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com


John and Pip wrote:
> Hi Marc and Paul,
> 
> While I can see it is not backward compatible as would change behaviour
> of existing scripts, the reality I would have thought is that you would
> ideally always want to see current page state. That is how the
> "mainstream" tools work and is one of the initially obvious limitations
> when people evaluate or learn Canoo WebTest.
> 
> So I would suggest (beg!?) that it become the default behavior to look
> at current page state, and if necessary an option  be provided in the
> config element to override it in one place back to the previous behaviour.
> 
> After all - we do want WebTest to become an end user tool as well as a
> java guru's tool right? (rhetorical question I think - I'm trying to
> teach my teenage daugher and her boyfriend but unfortunately for reasons
> like this have had to start them on Selenium).
> 
> regards,
>          John
> 
> On 10/24/07, *Paul King* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     Marc Guillemot wrote:
>     > - add an attribute to specify last response or current page state
> 
>     Maybe:
> 
>     <verifyText ... useDom="true">
> 
>     with some documentation and default to current behaviour, i.e. false?
> 
> 
>     Paul.
>     _______________________________________________
>     WebTest mailing list
>     [email protected] <mailto:[email protected]>
>     http://lists.canoo.com/mailman/listinfo/webtest
> 
> 

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to