I’ve been searching through the Web Testing forms to see if I could find what would be the best practice for dealing with web content where Katalon appears to either:
-Does not recognize a character
-Consider it a special character.
-Or its a reserved character (where you use some sort of escape character.
That being said, in my below example I am reading through a CSV file and then comparing the Page Title on the https://duckduckgo.com/ website.
When Katalon reads my CSV file it does not appear to recognize the dash like character in the title.
This is an example of my CSV file:
“DuckDuckGo — Privacy, simplified.”,https://duckduckgo.com/,Tired of being tracked online? We can help.
I copied the content directly via Google Chrome Developer (copy element)
This is an example of the failed compare message when the character is not recognized:
Test Cases/1. Test Setup/1. Smoke Test - URL, Page Title and Content check from a file FAILED. Reason: Assertion failed: assert WebUI.getWindowTitle() == Test_Title | | | | | DuckDuckGo � Privacy, simplified. | false DuckDuckGo — Privacy, simplified.
Any recommendations\documentation I should read to handle situations like this are welcome.