winforms - CodedUI : PropertyNames.ControlName doesn't work -
i'm searching customcontrol in generic way, can re-use function find other customcontrols match one.
it has name , controlname. name property not filled in correctly, controlname be!
when customcontrol in code below, locate , perform requested actions.
wingroup group = new wingroup(this.window); group.searchproperties.add(wingroup.propertynames.name, strgroupname, propertyexpressionoperator.contains); group.searchconfigurations.add(searchconfiguration.nextsibling);
when change propertynames controlname, not locate control! surprises me, because unique.
what can cause of this? missing or doing wrong?
just safe, can propertynames.controlname used find objects?
regards, leslie
Comments
Post a Comment