public void TestLayout() { name = new TextBoxTester("name", CurrentWebForm); comments = new TextBoxTester("comments", CurrentWebForm); save = new ButtonTester("save", CurrentWebForm); book = new DataGridTester("book", CurrentWebForm); Browser.GetPage("http://localhost:49786/GuestBook.aspx"); SignGuestBook("ABC", "DEF!"); string[][] expected = new string[][] { new string[] {"ABC", "DEF!"}, }; AssertEquals("book", expected, book.TrimmedCells); } private void SignGuestBook(string nameToSign, string commentToSign) { name.Text = nameToSign; comments.Text = commentToSign; save.Click(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)