Skip to content

Commit

Permalink
Merge pull request #242 from ilya-murzinov/Issue241
Browse files Browse the repository at this point in the history
Fix #241
  • Loading branch information
JakeGinnivan committed Jun 2, 2014
2 parents d844d49 + 6cbee4a commit 83add85
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 83add85

Please sign in to comment.