public void ProfileLocationMustNotBeEmpty() { createProfileLocationPage = createProfileNamePage .ClickOnNextButtonToNavigateOnLocationScreen(); Assert.IsFalse(createProfileLocationPage.CheckIfNextButtonIsEnabled(), "Next button is not disabled."); }
public void ProfileLocationIsRequiredField() { createProfileLocationPage = createProfileLocationPage .ChooseProfileLocation(Locations.Stockholm); bool actualResults = createProfileLocationPage.CheckIfNextButtonIsEnabled(); //toDo add a soft assertImplementation for asserting multiple conditions in same time Assert.IsTrue(actualResults, "Next Button is not enabled."); }