SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jun 2005
    Posts
    17
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Batch file question

    Hi there. I am trying to run a testcase via a batch file. So, the first thing I need to do (before starting testpartner) is open a browser to a particular website, but the first part of the url is dynamic. I thought I would read it in from an excel spreadsheet, but can't figure out how to do it. So, any other ideas?

    THanks,
    Faith

  2. #2
    Senior Member
    Join Date
    Nov 2004
    Location
    Blue Bell, PA
    Posts
    137
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Batch file question

    She is asking how to read from excel from a batch file, not launching test partner from a batch file. (and her subject was 'Batch file Question')

    I'm fairly adept at shell scripting but I've never seen any way of parsing an excel file from a batch file. If I were you I would handle launching IE from within test partner which will be a lot easier.

    If for some reason you can't do this you would probably be able to read in and parse a csv file, but there are plenty of sites available on shell scripting and it is beyond the scope of a test partner forum.

  3. #3
    Senior Member
    Join Date
    Sep 2004
    Location
    Toronto, Canada
    Posts
    555
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Batch file question

    umm... What's that got to do with running TP from a batch file (as per your subject)?

    Use the search at the top of the forum and look for "Excel". There have been many posts from people asking the same question (and there have even been answers).

    There are also many posts about running TP from a batch file (or the command line), so you might as well search on that too.

    Aracknid.
    TestPartner:
    Current AUT running test scripts on TP 6.3 build 183, SQL 2000 DB.
    Legacy AUT running on TP 5.6.0 Build 81 and TP 6.2 build 449 with SQL 2000 DB.

    Test Environment:
    TP/IE Clients on VMWare ESX 4.1 server, AUT Servers on VMWare ESX 3.5 server.

    Application Under Test (AUT):
    Client/Server based, IE 7/8 interface with SQL 2005/2008 DB.

    Automating with TP since August 2004.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.34%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 11:43 PM.

Copyright BetaSoft Inc.