SPONSORS:






User Tag List

Results 1 to 10 of 10
  1. #1
    Junior Member
    Join Date
    Dec 2000
    Location
    Hillsboro
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SYS_Execute problems

    Has anyone experienced problems using the SYS_Execute routine? When using it on the local machine, it works fine. As soon as I switch to a Netbios network environment, it is always unable to find the file. All other commands work fine. Any ideas?

    Thanks...

  2. #2
    Member
    Join Date
    Dec 1999
    Location
    Portland, OR, USA
    Posts
    91
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute problems

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by allenwa:
    Has anyone experienced problems using the SYS_Execute routine? When using it on the local machine, it works fine. As soon as I switch to a Netbios network environment, it is always unable to find the file. All other commands work fine. Any ideas?
    Thanks...
    <HR></BLOCKQUOTE>

    We have found SYS_Execute to be very unreliable on Win-9X boxes. I have six Win-9x boxes (a mixture if Win-95 and Win-98) on which SYS_Execute always fails. On a couple of other Win-9X boxes it works just fine.

    Segue says they are unable to reproduce the problem.
    Quality Control Analyst at Syntel Inc
    Project Test Lead for client Daimler Trucks - North America.
    Interested in testing dot net web services and SOA systems.
    Charles F. Radley
    Oregon, USA.

  3. #3
    Junior Member
    Join Date
    Dec 2000
    Location
    Hillsboro
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute problems

    Have you found a work around for the problem or some other method to achieve your goal?

  4. #4
    Senior Member
    Join Date
    Sep 1999
    Location
    San Jose,CA,USA
    Posts
    340
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute problems

    All

    I am not sure if this will fix your problem or not, but I have an alternative to SYS_Execute.

    It is located on the Betasoft downloads and is titled SYS_Execute for Windows 95. The algorithm which handles getting info back to a list is very primitive (involves a file) and the core is the system command wrapped in a dll. But it is an alternative.

    I would be very interested in hearing if this works for you.


    [This message has been edited by rick_weth (edited 01-05-2001).]
    Smoke me a kipper, I'll be back for breakfast!
    Sincerely
    Richard Weth
    Sr. QA Engineer

  5. #5
    Member
    Join Date
    Dec 1999
    Location
    Columbus, OH
    Posts
    78
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute problems

    I have found SYS_Execute () to be a little shaky myself so I use the an undocumeted (I think) function App_Start (). To use App_Start () you have to include the bwcompat.inc file that comes with silktest. Here is an example.
    I use this to run all kinds of commands.

  6. #6
    Member
    Join Date
    Dec 1999
    Location
    Columbus, OH
    Posts
    78
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute problems

    When I need to trap the information from the command line I usually push the command's output to a file and read the file. For example I will use ping

  7. #7
    Senior Member
    Join Date
    Sep 1999
    Location
    San Jose,CA,USA
    Posts
    340
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute problems

    No my SYS_Execute as well as any other will not handle interactive command line interfaces. Why in the heck does pkzip need a login command?? I use pkzip all the time it has a great command line interface.. ?
    (maybee I am thinking of winzip .. I seem to remember pkzip from my IBM days ..)

    Anyhow interactive command line is handled VERY well with expect. BTW expect does work on NT and I think I posted something about it not long ago (do a search).

    (if you canot get away with directing input to the utility like "login_id" > pkzip.exe)

    Also the return code will just return whatever the executable returns. So it literally just wraps the return of the called application/utility.

    If you like Cradley's technique, I think it's a tad more robust. All I really did apart froom complicating it with a required dll, is to encapsulate the return to a list via a file.

    Good luck and let us all know how it turns out!!!


    [This message has been edited by rick_weth (edited 01-05-2001).]
    Smoke me a kipper, I'll be back for breakfast!
    Sincerely
    Richard Weth
    Sr. QA Engineer

  8. #8
    Member
    Join Date
    Dec 1999
    Location
    Portland, OR, USA
    Posts
    91
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute problems

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by rick_weth:
    All

    I am not sure if this will fix your problem or not, but I have an alternative to SYS_Execute.

    I would be very interested in hearing if this works for you.

    [This message has been edited by rick_weth (edited 01-05-2001).]
    <HR></BLOCKQUOTE>

    I am trying it. So far it seems to work with "net use" but fails with pkzip, the latter has rather a long command line.
    Can you give us some info on what the return codes mean ?


    [This message has been edited by cradley (edited 01-10-2001).]
    Quality Control Analyst at Syntel Inc
    Project Test Lead for client Daimler Trucks - North America.
    Interested in testing dot net web services and SOA systems.
    Charles F. Radley
    Oregon, USA.

  9. #9
    Member
    Join Date
    Dec 1999
    Location
    Portland, OR, USA
    Posts
    91
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute problems

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Tom VonderBrink:
    I use this to run all kinds of commands.[/B]<HR></BLOCKQUOTE>

    Is there any way to trap the output of the command ?
    Quality Control Analyst at Syntel Inc
    Project Test Lead for client Daimler Trucks - North America.
    Interested in testing dot net web services and SOA systems.
    Charles F. Radley
    Oregon, USA.

  10. #10
    Member
    Join Date
    Dec 1999
    Location
    Portland, OR, USA
    Posts
    91
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute problems

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by rick_weth:
    Why in the heck does pkzip need a login command?? <HR></BLOCKQUOTE>

    It doesn't. It was a typo, "logn" should have been "long".

    [This message has been edited by cradley (edited 01-10-2001).]

    [This message has been edited by cradley (edited 01-10-2001).]
    Quality Control Analyst at Syntel Inc
    Project Test Lead for client Daimler Trucks - North America.
    Interested in testing dot net web services and SOA systems.
    Charles F. Radley
    Oregon, USA.

 

 

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.