コード例 #1
0
        protected ButtonDriver Button(object automationIdOrText)
        {
            var drivr = new ButtonDriver(automationIdOrText);

            this._list.Add(drivr);
            return(drivr);
        }
コード例 #2
0
ファイル: WindowDriveRoute.cs プロジェクト: peterson1/ErrH
 protected ButtonDriver Button(object automationIdOrText)
 {
     var drivr = new ButtonDriver(automationIdOrText);
     this._list.Add(drivr);
     return drivr;
 }
コード例 #3
0
ファイル: WhiteUiDriver.cs プロジェクト: peterson1/ErrH
	public bool Drive(ButtonDriver button)
	{
		if (!button.IsClicked) return Trace_n("  Button«{0}» was not clicked.", "");
		return Drive(button, x => x.Click(), 
				"Button({0}).Click()", button.Key);
	}