SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Dec 1999
    Location
    New York, New York, US
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    special characters

    Hi, I'm new to silk test. I'm having problem
    finding the correct syntax for special characters such as tab and next line. Can someone help me?

  2. #2
    Junior Member
    Join Date
    Nov 1999
    Location
    Chelmsford, MA, USA
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: special characters

    Hey, use the chr() function and place it within a string - like so:
    ...
    Print("Foo{chr(10)}Bar")
    ...

    will give you a results file with a printout of:

    Foo
    Bar (instead of FooBar).

    The ASCII code is passed to the chr() function. The number 10 gives you a new line.

    Find an ASCII chart and give it a try.

    As for Tabbing, What about TypeKeys("<Tab>")?

    Check in the Help section for chr() and key names for TypeKeys().

    ------------------
    <UL TYPE=SQUARE>
    <LI>Peter
    <LI> peterw@phaseforward.com
    <LI>Phase Forward, Inc. [/list]

    <UL TYPE=SQUARE]
    <LI]Peter
    <LI] pfwick@nortelnetworks.com
    <LI]Epicon, Inc.
    </UL]

  3. #3
    Junior Member
    Join Date
    Dec 1999
    Location
    New York, New York, US
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: special characters

    Thanks, QA forums ROCK

 

 

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.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:48 AM.

Copyright BetaSoft Inc.