/// <summary> /// Log a text. /// This method is domain specific and should be accessible from any INavigable /// (as far they have path to next INavigable). /// </summary> /// <param name="origin">this INavigable.</param> /// <param name="text">The text to log.</param> /// <returns>The IVewMenu where the log was enter.</returns> public static IViewMenu Log(this INavigable origin, string text) { IUIAccess mySession = origin.Session as IUIAccess; IViewMenu viewMenu = mySession.ViewMenu; origin.GoTo(viewMenu) .Do(() => { viewMenu.EnterText(text); }); return(viewMenu); }
private NavigationSteps(AppiumContext appiumContext) { this.sut = appiumContext.SUT; }
private ControlSteps(AppiumContext appiumContext) { this.sut = appiumContext.SUT; }