Hi,
The Silverlight application I am testing has a popup with the text inside it "Cannot delete ABC." where ABC is the name of the object.
Doing this works and it finds the popup:
But...
The object isn't always going to be called ABC. I'd like to parameterise it. I was hoping a regular expression or something like that could be used to do this.
What is the best way to have a wildcard substitute for ABC?
Thanks,
Dren
The Silverlight application I am testing has a popup with the text inside it "Cannot delete ABC." where ABC is the name of the object.
Doing this works and it finds the popup:
var foundPopup = popup.VisualTree.Find.ByExpression(new XamlFindExpression("TextContent=Cannot delete ABC"));
But...
The object isn't always going to be called ABC. I'd like to parameterise it. I was hoping a regular expression or something like that could be used to do this.
What is the best way to have a wildcard substitute for ABC?
Thanks,
Dren