Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 CodedUI 测试中,我正在做这个字符串比较:“Provider BAO”,但在应用程序中,字符串看起来像这样:“Provider BAO”,测试不理解字符串。如何做测试理解这个字符串?Ps:字符串分配在组合框字段上。
您可以使用 HttpUtility.HtmlDecode方法将“Provider BAO”转换为“”Provider BAO”
您将需要导入 System.Web 命名空间。