SPONSORS:






User Tag List

Results 1 to 9 of 9
  1. #1
    BMD
    BMD is offline
    Advanced Member
    Join Date
    Mar 2002
    Location
    Earth, USA, New York, Western
    Posts
    759
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Reading a .txt file for input. DATA-DRIVEN TEST

    All, this is ticking me off. This should be simple and I even looked in the archives and could not find it? I have a file that looks like.

    ANNE JONES, DDA, 15306467
    CARLA JONES, DDA, 16000001003748
    CLARENCE JONES, CDA 31003905081243
    DONALD R JONES, REA 35004109337764
    DORIS JONES, DDA, 9300476
    BARBARA SMITH, DDA, 1379057

    All I need to do is read this in to a script.

    I need to place the stuff in.

    I can't jet this to work and I know it is something simple. My mind is on turkey not coding. But I code like a turkey.

    Thanks in advance,
    Bruce.


    ------------------
    There but by the grace of God go I.

  2. #2
    Senior Member
    Join Date
    Oct 2001
    Location
    NC, United States
    Posts
    148
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading a .txt file for input. DATA-DRIVEN TEST

    i am sure you have done this but just checking....OpenFile, ReadLine and then parse string to get value???

    ------------------
    -gram
    -gram

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

    Re: Reading a .txt file for input. DATA-DRIVEN TEST

    FileReadLine in the online help index provides a useful example of file input.


    John


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

  4. #4
    BMD
    BMD is offline
    Advanced Member
    Join Date
    Mar 2002
    Location
    Earth, USA, New York, Western
    Posts
    759
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading a .txt file for input. DATA-DRIVEN TEST

    Yes, this now gets me.

    I don't know what the "H65536" is and I can't get them into rfile.sname and rfile.stype and rfile.sacc. I tried to loop though them and all I get to syntax errors.

    I have made progress.
    Thanks to all of you.
    Bruce.

    ------------------
    There but by the grace of God go I.

    ------------------
    There but by the grace of God go I.

  5. #5
    Senior Member
    Join Date
    Oct 2001
    Location
    NC, United States
    Posts
    148
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading a .txt file for input. DATA-DRIVEN TEST

    that is the rFile in your print statement.....i would say finish your turkey and get back to this on monday

    ------------------
    -gram

    [This message has been edited by gram (edited 11-26-2002).]
    -gram

  6. #6
    Senior Member
    Join Date
    Oct 2001
    Location
    NC, United States
    Posts
    148
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading a .txt file for input. DATA-DRIVEN TEST


    ------------------
    -gram

    [This message has been edited by gram (edited 11-26-2002).]

    [This message has been edited by gram (edited 11-26-2002).]
    -gram

  7. #7
    BMD
    BMD is offline
    Advanced Member
    Join Date
    Mar 2002
    Location
    Earth, USA, New York, Western
    Posts
    759
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading a .txt file for input. DATA-DRIVEN TEST

    THANKS Gram,

    Enjoy The Turkey.

    Bruce. I was almost there, I should not forget this one.

    ------------------
    There but by the grace of God go I.

  8. #8
    BMD
    BMD is offline
    Advanced Member
    Join Date
    Mar 2002
    Location
    Earth, USA, New York, Western
    Posts
    759
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading a .txt file for input. DATA-DRIVEN TEST

    I would love to wait but I can't. I have posted the question to the a friend at Segue but I think they are all out. Wish I was. I'm still going to poke around with this.

    Enjoy,
    Bruce.

    ------------------
    There but by the grace of God go I.

  9. #9
    Junior Member
    Join Date
    Sep 2002
    Location
    ca
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading a .txt file for input. DATA-DRIVEN TEST

    speaking of data driven, i have a question with data driven files. i want to add a column on my file for comment purposes and i want SilkTest to ignore this column. how do i go about this?

    thanks!

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

 

 

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:22 PM.

Copyright BetaSoft Inc.