SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Dec 2003
    Location
    Pune
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to Include Batang font/ korean language font in the script

    I am having a test case which has to be automated like the one below. i that test case have to pass the value of the name in some korean language.
    My problem is how can i include that in the script "TSL"

    Test case:

    Open the login page.
    enter the User id as "나의 이름"
    and the Password as "너의 이름"
    and click on the login button..

    have any one faced this problem/ can any one help me in solving this problem.

    Thank you.

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Posts
    216
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Include Batang font/ korean language font in the script

    You could try the sendkeys function at the following link:

    http://members.optusnet.com.au/~wobblyfrog/

    Let me know how you go. If it doesn't work, I will put in the unicode version and you can try that.

  3. #3
    Junior Member
    Join Date
    Dec 2003
    Location
    Pune
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Include Batang font/ korean language font in the script

    Hi Misha,

    Thaank you for the reply.
    In your sample script you have assigned some "D:\\x\\z" to the variable str.
    It is functioning as required, if the str is some english like characters.
    But in my script I would like to have some Korean characters assigned to the variable str.

    If you want a word made up of some korean chars I can send it to you by mail as an attachment, coz the editor which we are using in this forum is not supporting the Batang font.

    Please help me through this yaar.

    Aravind

  4. #4
    Senior Member
    Join Date
    Jul 2001
    Posts
    216
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Include Batang font/ korean language font in the script

    I have uploaded an experimental version which includes SendkeysW(), W meaning Word or unicode.

    I have not had a chance to test it yet, you are welcome to give it a try though.

  5. #5
    Junior Member
    Join Date
    Dec 2003
    Location
    Pune
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Include Batang font/ korean language font in the script

    It hasnt worked out even with new Sendkeys().
    I havent found SendkeysW(); in the zip you posted on web at the location you mentioned.

    http://members.optusnet.com.au/~wobblyfrog/

  6. #6
    Senior Member
    Join Date
    Jul 2001
    Posts
    216
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Include Batang font/ korean language font in the script

    Hi,

    Try the new dll and use the following function:
    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">sendkeydll = getvar(&quot;testname&quot &quot;\\sendkeys.dll&quot;;
    unload_dll(sendkeydll);
    load_dll(sendkeydll);
    extern int SendKeysW(in string keystring);
    SendKeysW(&quot;나의 이름&quot;</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">I have not tested this:
    1. Not working with winrunner this month
    2. Haven't got another language installed on this windows

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:23 AM.

Copyright BetaSoft Inc.