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

            this._list.Add(drivr);
            return(drivr);
        }
示例#2
0
 protected ButtonDriver Button(object automationIdOrText)
 {
     var drivr = new ButtonDriver(automationIdOrText);
     this._list.Add(drivr);
     return drivr;
 }
示例#3
0
	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);
	}