File name Validation problem which contains &amp

Hi All , I am uploading the file in box.com after upload when I am validation the file got uploaded as show in second screenshot then in that case name having &amp if failing to validate but names without &amp is getting validated any guess why it can be the issue.

—Selector for validating the files got uploaded or not .

You can html encode your string before checking it with Element Exists.

str_Fname = System.Web.HttpUtility.HtmlEncode(str_Fname)

This will convert for example "A & B" to "A & B".

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.