Skip to content

Commit

Permalink
Fix #241
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-murzinov committed May 29, 2014
1 parent d844d49 commit 6cbee4a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/TestStack.White/UIItems/ListViewRow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@ public class ListViewRow : UIItem
private readonly ListViewHeader header;
private readonly AutomationElementFinder finder;
protected ListViewRow() {}


public ListViewRow(AutomationElement automationElement, ActionListener actionListener)
: base(automationElement, actionListener)
{
header = null;
finder = new AutomationElementFinder(automationElement);
}

public ListViewRow(AutomationElement automationElement, ActionListener actionListener, ListViewHeader header)
: base(automationElement, actionListener)
{
Expand Down Expand Up @@ -75,4 +82,4 @@ public virtual void MultiSelect()
keyboard.LeaveKey(KeyboardInput.SpecialKeys.CONTROL, actionListener);
}
}
}
}

0 comments on commit 6cbee4a

Please sign in to comment.