We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More

Forum Discussion

nineteeneigthy1's avatar
nineteeneigthy1
New Contributor
6 years ago
Solved

Can I use sys.clipboard to enter otherwise unsupported characters?

Objective: Enter this text string 

ʕ •ᴥ•ʔ

...into a textArea object in a web-based application. 

 

SetText is not supported for textArea so I tried using Keys. The Keys method does not support unusual characters. So I am wondering if I can enter the string into the system clipboard and then use keys to execute a paste function.

  • 1) What happened when you tried it from the clipboard?  That's the easiest way to find out if something works and if it doesn't you can tell us what did happen and we can go from there.  

     

    2)  This may be of some help, especially the notes about unicode at the bottom of the page

    https://support.smartbear.com/testcomplete/docs/reference/language/all/string-routines-chr.html

3 Replies

  • Marsha_R's avatar
    Marsha_R
    Icon for Champion Level 3 rankChampion Level 3

    1) What happened when you tried it from the clipboard?  That's the easiest way to find out if something works and if it doesn't you can tell us what did happen and we can go from there.  

     

    2)  This may be of some help, especially the notes about unicode at the bottom of the page

    https://support.smartbear.com/testcomplete/docs/reference/language/all/string-routines-chr.html

  • AlexKaras's avatar
    AlexKaras
    Community Hero

    Hi,

     

    If you were using this web application, how would you enter these characters manually?

     

  • Thanks Alex, thanks Marsha!

    nineteeneigthy1 were you able to find a solution, did the advice help?

    If not, please provide more info as per requests from Alex and Marsha.