public void NavigateToPreview() { DashboardButton.Click(); ProjectButton.Click(); string Test = Header.Text.ToString(); Assert.IsTrue(Test.Contains("VidoeGames")); TemplateButton.Click(); TempButton.Click(); }
public void NavigateToDashboard() { DashboardButton.Click(); ProjectButton.Click(); string Test = Header.Text.ToString(); Assert.IsTrue(Test.Contains("VideoGames")); TemplateButton.Click(); dropdown.Click(); for (int i = 0; i < DropdownItems.Count; i++) { if (DropdownItems[i].Text.Contains("Force")) { string me = DropdownItems[i].Text.ToString(); DropdownItems[i].Click(); unlockSubmit.Click(); } } TempButton.Click(); }