in

ArtOfTest, Inc. Community Forums

Discuss and ask questions about ArtOfTest's products.

Browse by Tags

  • Re: Possible error with element.Attributes

    Hi, I've encountered this issue again, but this time I'm disabling a HtmlInputText element. Once again I'm using jqeury to disable the element - heres the line of code addEditForm.DestinationUrlInput.attr("disabled", true); I'm using Nunit, IE6 and Webaii RC0. I can get around...
    Posted to General Questions (Forum) by Kieranmaine on 06-24-2008
  • Possible error with element.Attributes

    I'm disabling some checkboxes and then checking the attributes of the check boxes in Nunit. Although the checkboxes were disabled in the browser (IE and Firefox), webaii wasn't listing then as disabled. When I outputed the list of attribute names for the checkbox to the console it returned the...
    Posted to General Questions (Forum) by Kieranmaine on 04-08-2008
  • Re: FindParamAttribute fail to invoke

    Apparently there's a new conflict with the 2.4.4 release of NUnit. You need to disable 'Copy Local' of the NUnit.Core reference. To do this: Expand the References node in Solution Explorer. Right click on 'nunit.core' and select Properties. Change the setting for 'Copy Local'...
    Posted to General Questions (Forum) by sircody on 11-20-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
  • How to control WebAii settings via attributes

    One feature that is currently missing in WebAii RC0 (and not likely to make it into the final 1.0 release) is the ability to control or override WebAii configuration settings via attributes. For example, wouldn't it be nice to be able to control which browser is launched via an attribute setting...
    Posted to Design & Architecture (Forum) by sircody on 07-30-2007
  • Add custom WebAii attributes

    Having WebAii configuration stored in app.config is a good start and useful for default settings and regular .exe applications, but I am finding it doesn't lend itself well for unit testing. The biggest problem this approach has lead me to is that in order to run my tests on different browsers I...
    Posted to Feature Wish List (Forum) by sircody on 07-12-2007
  • Re: Query checkbox state

    I am finally able to come back and review this. Yes this works rather nicely! It returns the string "true" or "false" for both browsers, and I don't have to refresh the element from the DOM either after the setting got changed. Can I also use this to get the Enabled state of the...
    Posted to General Questions (Forum) by sircody on 06-14-2007
  • Re: Query checkbox state

    Re: Calling OnClick(): Yes, I am calling Actions.Check(), which I guess means I must call the OnClick event manually. That's fine with me. Re: Checked attribute: Now the bad news... it does not work in FireFox. I am finding that the "Checked" attribute is always present and always has the...
    Posted to General Questions (Forum) by sircody on 05-29-2007
  • Re: Query checkbox state

    I have only tried this with IE 6.0. After some experimentation I got something to work, but not in a way you would expect. In my case the first two checkbox's default to checked, the third is unchecked. Clicking on the third checkbox (Film) checks that one while unchecking the other two. The framework...
    Posted to General Questions (Forum) by sircody on 05-25-2007
Page 1 of 1 (9 items)
Copyrights © 2008 ArtOfTest, Inc. All rights reserved.