Sdílet prostřednictvím


New rules published to codeplex

I've published a new project to https://codeplex.com/teamtestplugins. This project is based on VS 2008.

A summer intern we have from Duke, Herodotos Herodotou, has developed a nice set of rules we did not have before.

All of the rules have to do with the inner text of a tag. For example, for a select tag (list box and combo box), the option text is stored in inner text rather than an attribute:

<select name="myselect1">
  <option>Milk </option>
  <option>Coffee</option>
  <option selected="selected">Tea</option>
</select>

In order to extract the value of the list box, we need to parse out the inner text of the selected option. TextArea is another tag that does this, but there's also a lot of other examples in HTML why you want to extract or validate inner text.

The new project has these new rules:

  • ExtractionRuleInnerText
  • ExtractionRuleSelectTag
  • ValidationRuleInnerText
  • ValidationRuleSelectTag

As well as an inner text and select tag parser.

I've also added the web test plugin for filtering dependents, below.

Ed.

Comments

  • Anonymous
    July 20, 2008
    PingBack from http://blog.a-foton.ru/2008/07/new-rules-published-to-codeplex/

  • Anonymous
    July 27, 2008
    Visual Studio Team System for Testers Content Index for Web Tests and Load Tests Getting Started Online

  • Anonymous
    July 27, 2008
    I updated my Links to Info on Web and Load Tests post with new links. The last update was in March, so

  • Anonymous
    April 27, 2009
    The ValidationRuleInnerText seems to work perfect, however ExtractionRuleInnerText seems to be missing the main field needed "Expected Inner Text".