SPONSORS:






User Tag List

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)

    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)

    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)

    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
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 08:54 AM.

Copyright BetaSoft Inc.