Skip to content

Multiple Attributes are ignored #8

@FinalBreaker

Description

@FinalBreaker

CodedUIFluentExtensions/blob/master/CodedUIExtensions/CaptainPav.Testing.UI.CodedUI/Html/FluentHtmlSearchExtensions.cs

WithAttributes<T>(this T current, IDictionary<string, string> attributes)

the coded UI framework when you add a search criteria it only allows 1 item per key.

the Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection implimentation

public void Add(PropertyExpression propertyExpression)
{
      if (propertyExpression == null)
        throw new ArgumentNullException("propertyExpression");
      **this.Remove(propertyExpression.PropertyName);**
      propertyExpression.PropertyChanged += new PropertyChangedEventHandler(this.OnPropertyChanged);
      this.List.Add((object) propertyExpression);
}

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions