SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jun 2001
    Location
    Bedford, MA, USA
    Posts
    85
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Calling non-GUI Java methods from SilkTest

    Hello to the vast and valuable SilkTest knowledge base!

    1)Can SilkTest directly call methods of a non-GUI java class?

    2)Do I use InvokeJava, InvokeMethods for this or are they for java GUI controls?

    3)How could 4Test pass-in or receive a return value from Java other than a STRING type?

    BTW: I searched the forum archive for this topic and found nothing conclusive.
    Several forum threads mentioned SilkBean for this kind of thing. This would not be an option here unless it comes free with a SilkTest license!

    Thanks in advance for your responses!



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

  2. #2
    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: Calling non-GUI Java methods from SilkTest

    Jim,

    If you have Silk(Which you obviously do) you already have the bean.

    As to your other question, I'm taking a risk here of being dead wrong, but my understanding is that any java class you interrogate has to be tied in some way to a piece of your GUI. In the past, I've had developers draw a minute "decorative" box down in the corner of a "nothing GUI" just so I'd have something to tie certain Java classes to. Once that was done, I could call MyLittleBoxGui.ThisClass.ThisExposedMethod.DoSomet hing()

    Others:
    If I'm mistaken on this, please correct me...

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

 

 

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:17 AM.

Copyright BetaSoft Inc.