Make sure that not pass NULL to parameter:ActionListener actionListener when convert AutomationElement to White Control

  AutomationElement autoElement1 = FindChildElement("textBoxPath", item);
  White.Core.UIItems.TextBox textBox = new White.Core.UIItems.TextBox(autoElement1, new NullActionListener()); // Cannot be null. if not, some function will get null reference exception while invoking.
posted @ 2011-04-07 11:24  Longmarch2008  阅读(240)  评论(0编辑  收藏  举报