activityMenuLink() public method

public activityMenuLink ( ) : bool
return bool
示例#1
0
        public void SeActivity_unauth_page_load()
        {
            //Arrange

            //Act
            ui.activityMenuLink(); //Find Activity menu link and click
            //Assert
            //  look for activityList
            var activityList = ui.WaitForElement(By.CssSelector("#activityList"));

            Assert.IsNotNull(activityList, "Failed to find #activityList");

            // look for activityTable
            var activityTable = ui.WaitForElement(By.CssSelector("#activityTable"));

            Assert.IsNotNull(activityTable, "Failed to find #activityTable");
        }