public dynamic GetEvent(string EventName) { AutomationFactory.GetEvent(obj, EventName); return obj; }