[LRUG] was( Re: Meeting August 8th and September 4th) now QA and 'fuzzy' HTML

Tiest Vilee ruby at tiestvilee.fastmail.com.au
Tue Aug 15 02:58:23 PDT 2006


I meant something more like

<html>
  <..>
    <title>title text</title>
  <..>
    <H1>title text</H1>
  <..>
</html>

OR

<ul class="trail">
  <li id=".*">
    <a href=".*">.*</a>
    <p class="linkdescription">.*</p>
  </li>+
</ul>

And you run this against an XHTML page and it matches to the above xml
regexps.  You could even define variables in your blob, and get those
returned to you so you can check that the values are ok

On Tue, 15 Aug 2006 10:21:33 +0100, "Adrian Lewis"
<Adrian.Lewis at tnt.com> said:
> Tiest
> 
> > BTW I have been thinking about trying to set up a testing framework for
> > my QAs where they can specify 'I want the HTML to look something like
> > this' but not have to be exact about all of it - like a fuzzy regexp for
> > xhtml.  Is the stuff you are working on at all related to that problem?
> 
> 'QA' can RegEx the HTML 'object' through Watir. An example would be:
> 
> 
>  def click_amend_link(i)
>     $ie.link(:url,/javascript:.*('#{i}',%20'amend')/).click
>  end
> 
> aidy
> 
> ps. I have not been following this thread completely
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------------------------------------------------
> This message and any attachment are confidential and may be privileged or
> otherwise protected from disclosure. 
> If you are not the intended recipient, please telephone or email the
> sender and delete this message and any attachment from your system.  
> If you are not the intended recipient you must not copy this message or
> attachment or disclose the contents to any other person.
> ---------------------------------------------------------------------------------------------------------------
> _______________________________________________
> chat mailing list
> chat at lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
-----------------------------------------------
And on the pedestal these words appear: 
"My name is Ozymandias, king of kings: 
Look on my works, ye mighty, and despair!"
Nothing beside remains: round the decay
Of that colossal wreck, boundless and bare, 
The lone and level sands stretch far away.
 -- Shelley




More information about the Chat mailing list