LTAF (Deprecated)

Web automation framework designed to run within an ASP.NET application. Tests can be written in any .NET language and use an API to manipulate the DOM of the browser. Started this project during my time in the ASP.NET team, main contributors were myself and Matthew Osborn.


Screen cast:


Sample:

[WebTestMethod]
public void SignInAndSignOut()
{
    // Navigate to the login page
    HtmlPage page = new HtmlPage("Login.aspx");
    // Fill Login control user/password and click login button
    page.Elements.Find("UserName").SetText("ValidUser");
    page.Elements.Find("Password").SetText("foo");
    page.Elements.Find("LoginButton").Click(WaitFor.Postback);
    // Verify content of the Home page
    Assert.AreEqual("Welcome back ValidUser!",
        page.Elements.Find("LoginName1").GetInnerText());
}