WATIR for .NET (www.hanselman.com)

published 3 years, 5 months ago, submitted by gaechgaech(1240) 3 years, 5 months ago

WatiN stands for Web Application Testing in dotNet. Inspired by Watir, WatiN enables web application testing, through Internet Explorer on a Windows platform, expressed in any .Net language.

1 comment | category: | Views: 100

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:

posted by FredericTorresFredericTorres(90) 3 years, 4 months ago

Scott, for developing web testing with C# and VB.NET there is also a new tool named InCisif.net. It has a different API that WATIR/WATIN and is worth a shot.
Here is the sample in C#+Incisif.net that you wrote in you article for WATIR/WATIN.

[InCisif.net.Library.Test("SH and google...")]
public void MyTest(){

using ( InCisif.net.Library.Test t = new InCisif.net.Library.Test(Language.CSharp, this) ) {

Page.URL = @"www.google.com";
Page.WaitForPage(@"www.google.com");

Page.Control("q").Text = "Scott Hanselman";

Page.Control("btnG").Click();
Page.WaitForPage(@"www.google.com/search");

Page.Control("Scott Hanselman's Computer Zen").Click();
Page.WaitForPage(@"www.hanselman.com/blog");

t.Passed = true;

}
}

http://www.InCisif.net

information Login or create an account to comment on this story