SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Dec 2000
    Location
    Pune, India
    Posts
    135
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Developing machine independent web-application testscript

    To make a web application testscript machine independent,

    Presently I am saving all the option setting in a .opt file and then loading it on any other computer where I need to execute the scripts.

    What else needs to be done to make a web application test script execute in the same way on different machines?
    Regards,

    Prasad

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

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

    Re: Developing machine independent web-application testscript

    Testplan.ini files will need to be copied as well if you are using .PLN files.

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

  3. #3
    Senior Member
    Join Date
    Dec 1999
    Location
    Sarasota FL USA
    Posts
    109
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Developing machine independent web-application testscript

    There are also INI files in the c:\Program Files\Segue\SilkTest folder that you may need to copy. (The versions of Silk must be the same.) Extend.ini and Partner.ini


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

  4. #4
    USB
    USB is offline
    Junior Member
    Join Date
    Dec 2001
    Location
    waltham, MA, USA
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Developing machine independent web-application testscript

    If you are using any temp files, make sure that you have them on the machine that you are running.
    Always use the relative paths, do not hard code any paths in your scripts.
    Its always better to have a check for these files in scriptenter () or TestPlanEnter ()
    so that you can automate the copying of the files if they do not exist.
    --Seshu

  5. #5
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Developing machine independent web-application testscript

    Everything is defined outside the script itself and the script is littered with variables. These variables are defined in an ini file (core.ini) which lives on each macine. The core.ini file is identical on every machine with the exception that the values in the key/value pairings are defined for that machine. Then when the script encounters a variable it knows to look in that ini file to define it.

    My philosophy is that you should be able to run any script written on machine A on any other machine with zero modification. It should just run, and not even have to be opened by the tester.

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

 

 

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 02:30 AM.

Copyright BetaSoft Inc.