public void GoToElement() { SeleniumActions.MoveToElementAction(WebElement); string message = $"Moved to (Button) [ {ControlName} ]."; LoggerManagerClass.Instance.Information(message); TestCaseProvider.Instance.AddStepInCurrentTestCase(LogStepStatus.Passed, message); }
public void SetDateValue(string text) { WebElement.Clear(); // clear the text field SeleniumActions.BrowserSleep(10); WebElement.SendKeys(text); // set the new value in the text field string message = $"The (Text Field) [ {ControlName} ] set the value: [ {text} ]."; LoggerManagerClass.Instance.Information(message); TestCaseProvider.Instance.AddStepInCurrentTestCase(LogStepStatus.Passed, message); }