public void AddAlarm2() { AlarmPageObject main = new AlarmPageObject(driver); main.ClickAddAlarm(); SetAlarmPageObject alarm = new SetAlarmPageObject(driver); alarm.SetTime("10", "15", "AM"); alarm.SetAlarmName("Team2"); alarm.RepeatAlarm("Monday"); alarm.Sound("Tap"); alarm.SnoozeTime("20 minutes"); alarm.SaveAlarm(); alarm.ValidateNewAlarm("Team2"); }
public void AddAlarm() { // Debug.WriteLine("Teste"); AlarmPageObject main = new AlarmPageObject(driver); main.ClickAddAlarm(); SetAlarmPageObject alarm = new SetAlarmPageObject(driver); alarm.SetTime("11", "40", "PM"); alarm.SetAlarmName("Team"); alarm.RepeatAlarm("Sunday"); alarm.Sound("Tap"); alarm.SnoozeTime("5 minutes"); alarm.SaveAlarm(); alarm.ValidateNewAlarm("Team"); }