SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    User defined GUITYPE

    I have a dialog that is recognized differently on winxp than it is on win2k. I want to declare the dialog twice using the same name using gui specifiers.

    My problem is I'm still on version 5.0.2 and am not able to upgrade to 5.5 SP1 so I want to define my own winxp guitype. I've defined it but how do I get SilkTest to recognize the guitype that i'm using while compiling my libraries? GetGuiVersion() returns "5.1" for winxp and "5.0" for win2k.

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Westford, MA, USA
    Posts
    160
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: User defined GUITYPE

    Why not put a method call into your tag statement? The method checks the gui version and returns the appropriate string back to the tag. Recording won't understand any of this, but playback will execute correctly.

    Because we sometimes test new OS's before Segue has had a chance to introduce working support for them, we always put a file on each machine with the OS set in it (in our case it's an .inc file but you could use a .txt or .ini file). There's a "use" statement for our .inc file in startup.inc. I suppose we could instead execute "ver" on the command line or call a dll.

    Otherwise, you're going to have to see if you can jimmy 4Test.inc, I guess.


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

 

 

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 07:11 AM.

Copyright BetaSoft Inc.