Reading special characters from a data file

Ask general questions here.
Posts: 7
Joined: Fri May 04, 2012 9:40 pm

Reading special characters from a data file

Post by xrayspex » Thu Jun 21, 2012 7:51 pm

I have a test where I am clicking on a spantag that is identified by an "innertext" attribute.

In the Spy and in the repository, the Xpath looks like this:

In my data file, which supplies the innertext for which the test should check I see this:

I see this when I cut and paste the tag into the text editor in Ranorex studio:

I see this in the report after the test fails:
No element found for path '<extra path info deleted here>/.//span[@innertext='V�s�rl�s']' within 10s.

How do I get Ranorex to recognize the special characters when it runs the test? The Spy sees it fine, and the repository has it correct as well. The data file is correct. Even the text editor can see it.


User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Reading special characters from a data file

Post by Support Team » Fri Jun 22, 2012 11:53 am


please make sure to save your data file in UTF-8 encoding.
Then it should work as expected.

Ranorex Team