in

ArtOfTest, Inc. Community Forums

Discuss and ask questions about ArtOfTest's products.

Browse by Tags

  • Re: Finding children of a given Element

    If you can convert your base Element into an HtmlControl you can use the HtmlControl.Find method. For example: Element divElement = // Insert your code here;; HtmlDiv div = new HtmlDiv (divElement); Element label = div.Find.ByAttributes( "name=Label" ); // // or // HtmlSpan spanLabel = div...
    Posted to General Questions (Forum) by sircody on 11-27-2007
  • Add HtmlMap and HtmlArea controls

    My company makes heavy use of the Map tag. It would be very helpful to have specialized controls to help automate test cases that access our maps. The HtmlMap control needs to include a set of HtmlArea controls (similar to how HtmlTable contains a set of HtmlRow's). The HtmlArea control needs to...
    Posted to Feature Wish List (Forum) by sircody on 11-01-2007
  • Add HtmlControl.Attributes[string] method

    The base Element class has a nifty GetAttribute(string name) function. It would be really nice if the HtmlControl had an equivalent function. There is the HtmlControl.Attributes property but it only accepts an index number. Test code is much more robust if it uses attribute names instead. So currently...
    Posted to Feature Wish List (Forum) by sircody on 10-12-2007
  • HtmlControl.FindParentContainer()

    Is there any functional difference between the functions HtmlControl.FindParentContainer<TContainerControl>() and HtmlControl.Parent<TContainerControl>()? I don't recognize any difference beyond the function name. If there is can you explain it please?
    Posted to General Questions (Forum) by sircody on 10-03-2007
  • Can't search for partial match using HTML controls

    I'm trying to find an an HTML select control using partial match on the ID but it doesn't seem to work. I've tried both of these syntax's (table1 is an HtmlControl object): HtmlSelect colorSelect = table1.Find.ById< HtmlSelect >( "~_productColor" ); HtmlSelect colorSelect...
    Posted to General Questions (Forum) by sircody on 09-20-2007
Page 1 of 1 (5 items)
Copyrights © 2008 ArtOfTest, Inc. All rights reserved.