?????????????????????????????

[TestClass]

public class UsersTest


{


    // ????????????????????????????????????????

    [DeploymentItem("UsersTest.xls")]

    // ???????????????????worksheet?????????????????worksheet???????

    // ???????“$”

 

    [DataSource(

        "System.Data.Odbc"??

        @"Driver={Microsoft Excel Driver (*.xls)};DriverId=790;Dbq=UsersTest.xls;DefaultDir=."??


        "LogOnTest$"?? DataAccessMethod.Sequential)]

 

    [TestMethod]

 

    public void LogOnTest()


    {

        var username = TestContext.DataRow["username"] as string;

        var password = TestContext.DataRow["password"] as string;

 

        TestLibrary.UserHelper.LogOn(username?? password);


 

        Assert.IsTrue(selenium.IsTextPresented(...));

    }


}