SPONSORS:






User Tag List

Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Aug 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Testing Java app

    Hi,
    I am testing Java app. with Silk Test 5.03
    and window 98. I set up the classpath in the autoexec.bat as following:
    set CLASSPATH=.;C:\PROGRA~1\SEGUE\SILKTEST\JAVAEX\Silk Test_Java1.jar.
    and restart the comp. I also tried with ...Java2, but still I can not catch the Java ovjects, Silk just can not see it.
    Please give me an advice.
    Thank you.

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

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Burlingame CA 94010
    Posts
    502
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testing Java app

    JavaApps sometimes redefine the classpath on the command line. If this is true, you'll need to add the SilkTest jar file in the batch file.

    Hope this helps

  3. #3
    Junior Member
    Join Date
    Aug 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testing Java app

    I am sorry, but I did not really understand, how I can do this. I was thinking that if I showed the exact path to the Silk's jar file it should work...
    Could u give me a hand?

    Thanks you

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

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Location
    Sunyyvale CA USA
    Posts
    422
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testing Java app

    I faced similar issues and fixed it as follows.

    Copy ..Java2.jar to your jre_di\lib\ext directory and set classpath according towhatever jdk u r using

    ------------------
    Sree
    Sree

  5. #5
    Senior Member
    Join Date
    Mar 2000
    Location
    pisctaway, NJ USA
    Posts
    188
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testing Java app

    Sree-

    That is not the correct way to do it- it will work but will run into problems if you ever try to use invokejava.

    anthony

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

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

    Re: Testing Java app

    Check this link for configuration details:
    http://www.qaforums.com/Forum1/HTML/003738.html

    John


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

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

    Re: Testing Java app

    That is not the correct way to do it- it will work but will run into problems if you ever try to use invokejava.

    Care to expand on that? What problems?

    TIA,

    John




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

  8. #8
    Senior Member
    Join Date
    Mar 2000
    Location
    pisctaway, NJ USA
    Posts
    188
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testing Java app

    The problem with putting the segue jar in the EXT directory is this done when you cannot set your classpath at runtime. When you use invokejava, the class file your calling must be
    in your classpath- right? Well if you just stick that class file in the EXT directory,
    without putting it into the runtime classpath, invokejava will not find that class file.
    It just doesnt work.

    Anthony

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

 

 

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 04:14 AM.

Copyright BetaSoft Inc.