SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Jun 2002
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A simple question

    I'm a novice for silktest and need your help, thanks in advance.
    My question is:
    Shall we put all the frame declaration in just one .inc file or seperate them in different .inc files? Can u tell me the advantage or disadvantage of doing so?


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

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

    Re: A simple question

    It is up to you.

    You can have several or just one. I use one inc file and put all my declarations in it. This makes it easier for me as they are all in one. You may wish to have several. The choice is yours.

    ------------------
    Who Tests The Tester...
    Who Tests The Tester...

  3. #3
    Senior Member
    Join Date
    May 2002
    Posts
    448
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: A simple question

    Whola!

    Well it is not really a choice always. A lot of reasons are responsible for this, say for example your Application Under Test(AUT) is huge, with lots of dialog boxes which again has many children. To put the declaration for all of them in a single .inc is not only unadvisable it is difficult to keep a track of the changes as and when they happen. The major criteria with any declaration is the maintanence. Further down the line if your app undergoes modification to update the declaration accordingly would be a cumbersome process. Navigating through a unrealistically large declaration file is not what a good automation tester will wish for.

    If the controls and dialogboxes are repetitive and recurring, then ideally since SilkTest (4Test) caters for a OO style of coding, creating base classes and deriving instances (that means separate declaration files) to reduce overhead and duplication of effort is not a bad idea. Several other reasons facilitate the creation of separate declaration files.

    On the other hand if the app is really limited in its scope and growth, there is no reason why one needs to create separate declaration files.

    ------------------
    never say die
    Life, that dares send, A challenge to his end,
    And when it comes say, Welcome friend.

  4. #4
    Senior Member
    Join Date
    Dec 2000
    Location
    Phoenix, AZ
    Posts
    371
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: A simple question

    Whenever I am creating scripts for an application that contains different modules I will have an include file for each module. Each module based include will then have the window declarations and any functions related strictly to that module. This tends to work pretty good for maintenance reasons.

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

  5. #5
    Junior Member
    Join Date
    Jun 2002
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: A simple question

    OK, I see, thank u all!

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

 

 

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 12:39 PM.

Copyright BetaSoft Inc.