--Working with an English, French and Spanish language website
Attached are two screen shots to supplement this question. I captured the page title that contains an accented French 'è' character using the Print utility in the first attachment, and then cut/pasted that string into the QTP editor (which does not display the accented char correctly, but does in fact capture its value properly).
Using this technique I am able to successfully use inStr() to confirm that the partial title is found in the full page title:
<font class="small">Code:</font><hr /><pre>
sToFind="Enregistrez-vous auprès" 'displays correctly this page, but not in QTP
If inStr(sTitle, sToFind)>0 Then
Msgbox "'" &sToFind & "' was found in '"&sTitle&"'"
1. How would I "type" the special accented 'è' char into a string in the QTP editor? I assume there must be some type of special multiple key sequence.
2. Is there a website that defines all of these special chars for the French and Spanish languages, such that I can figure out what (question #1) special key sequence to use?
Re: how do you type french/span accent chars in QT
Thanks Mark--this was just what I was after! Armed with your website and the char() function, this is a piece of cake (and using the char() function, rather that special keystrokes I feel it is more maintainable, and certainly more understandable for those who did not originally develop the strings).
P.S. Search phases: special language characters, accent characters, language specific characters, grave, acute, circumflex, tilde, diaeresis, stroke, cedilla, circle, thorn, Windows 1252