WATIR for .NET
posted by FredericTorres(90) 5 years, 7 months ago 0
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
Reply