예제 #1
0
 public override async Task<bool> Drive(WindowDriveRoute window)
 {
     return await Task.Run(() =>
     {
         return this.Driver.Drive(window);
     });
 }
예제 #2
0
	public bool Drive(WindowDriveRoute window)
	{
		Debug_n("Driving window elements...", "window title : “{0}”", _find.Window1.Title);
		foreach (dynamic step in window.Steps)
		{
			if (!this.Drive(step)) return false;
		}
		return Debug_n("Successfully driven all elements.", "Defined route has {0:step}.", window.Steps.Count);
	}
예제 #3
0
 public abstract Task<bool> Drive(WindowDriveRoute window);