SPONSORS:






User Tag List

Results 1 to 4 of 4

Thread: #ifdef

  1. #1
    Member
    Join Date
    May 2001
    Location
    Houston, TX USA
    Posts
    40
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    #ifdef

    Hi All:
    Does Silk Test support #ifdef? I hava UI (MMC Microsoft Management Console) that we use and and MS has changed the UI on XP. I am planning to put an #ifdef and try to incorporate both WinNT and XP UI. Is there any other suggestions?


    ------------------
    SG
    SG

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    186
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: #ifdef

    Last I knew, #ifdef wasn't supported. You can use SYS_GetName() to return the OS name. I put it in ScriptEnter() to set runtime values. If you are using Java with the SilkBean you might want to use MainWin.GetJVMInfo("OSName") instead.

    ------------------
    Tom
    Tom

  3. #3
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: #ifdef

    No #ifdefs. There's a way to handle your it. Lookup gui-specific tags in the online or printed help for the syntax. Supported 'guitypes' are listed in 4test.inc.

    Another way is to consider multi-tags, however they are often problematic.

    John


    ------------------

  4. #4
    Super Member
    Join Date
    Jul 2001
    Location
    Earth
    Posts
    1,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: #ifdef

    You might want to also try Compiler Constants too.

    ------------------
    James Soderborg
    http://www.ameliortech.com
    jamesso@ameliortech.com

 

 

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 03:54 AM.

Copyright BetaSoft Inc.