Search code examples
c#asp.nethtmluser-interfacegui-testing

"Ø" as input in C#


I'm working on automating GUI-testing at my job. I'm currently stuck at something as silly as inserting the character "ø", which is a letter of my language.

The method-call is as follows:
_atlas.AvailabilityRadioSearch.InsertAddressAddress("kjøita");
This is supposed to automatically fill in the value in a standard textbox on the webpage. But, I can't seem to get it right. It always turns out "kj?ita".

Does anybody know how I can go about fixing this?

Oh, and btw;
Please do not care about the crappy method- and classnames, as this is just for testing-purposes and not to be used by anyone else :)


Solution

  • You need to change 'ø' into ø