Skip to content

Commit

Permalink
#29 OuterXPath functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
YevgeniyShunevych committed May 29, 2017
1 parent db3dc8b commit fd2198f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions src/Atata/Attributes/ControlSearch/FindAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public int Index
}

/// <summary>
/// Gets or sets the visibility. The default value is Visible.
/// Gets or sets the visibility. The default value is <see cref="Visibility.Visible"/>.
/// </summary>
public Visibility Visibility
{
Expand All @@ -61,7 +61,7 @@ public Visibility Visibility
}

/// <summary>
/// Gets or sets the scope source. The default value is Parent.
/// Gets or sets the scope source. The default value is <see cref="ScopeSource.Parent"/>.
/// </summary>
public ScopeSource ScopeSource
{
Expand All @@ -80,7 +80,7 @@ public ScopeSource ScopeSource
}

/// <summary>
/// Gets or sets the outer XPath. The default value is null.
/// Gets or sets the outer XPath. The default value is null, meaning that the control is searchable as descendant (using ".//" XPath) in scope source.
/// </summary>
public string OuterXPath
{
Expand Down
22 changes: 11 additions & 11 deletions src/Atata/Attributes/ControlSearch/FindSettingsAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,16 @@ public int Index
}

/// <summary>
/// Gets or sets the scope source. The default value is Parent.
/// Gets or sets the visibility. The default value is <see cref="Visibility.Visible"/>.
/// </summary>
public Visibility Visibility
{
get { return Properties.Get(nameof(Visibility), Visibility.Visible); }
set { Properties[nameof(Visibility)] = value; }
}

/// <summary>
/// Gets or sets the scope source. The default value is <see cref="ScopeSource.Parent"/>.
/// </summary>
public ScopeSource ScopeSource
{
Expand All @@ -48,7 +57,7 @@ public ScopeSource ScopeSource
}

/// <summary>
/// Gets or sets the outer XPath. The default value is null.
/// Gets or sets the outer XPath. The default value is null, meaning that the control is searchable as descendant (using ".//" XPath) in scope source.
/// </summary>
public string OuterXPath
{
Expand All @@ -64,14 +73,5 @@ public Type Strategy
get { return Properties.Get<Type>(nameof(Strategy)); }
set { Properties[nameof(Strategy)] = value; }
}

/// <summary>
/// Gets or sets the visibility. The default value is Visible.
/// </summary>
public Visibility Visibility
{
get { return Properties.Get(nameof(Visibility), Visibility.Visible); }
set { Properties[nameof(Visibility)] = value; }
}
}
}

0 comments on commit fd2198f

Please sign in to comment.