SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Sep 2005
    Location
    India
    Posts
    43
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Java code in Winrunner

    Hello All,

    Can anyone suggest me whether I can write Java code in Winrunner script or any way I can invoke a java class or methods ?

    Whether Java Add-In can be helpful ?

    If Winrunner is not able to achieve then Can any other testing tool do this work ?
    Jyoti

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    Sierra Vista
    Posts
    549
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Java code in Winrunner

    In a short and very simple version:

    Winrunner's job is to act like a user on your program at higher speeds of what a typical user can do. Many ways that you can have it preform it's job is to record actions, and when you get better and more familiar with Winrunner, code your own scripts. Winrunner uses its own langauge, Test Script Language (TSL), so you cannot impliment your java code to make it run because it just simply wont understand it. THe Java Add-in is to help Winrunner utilize the java functions you have written.

    As for your last question, I dont know any testing tools that can let you use Java code for the scripts, but then again, I havent seen all of them out there. Quick Test Pro (QTP) also made by Mercury is a testing tool that is similiar to what you want, but it uses VBScript.

    If any more knowledgable person reads this and I'm incorrect about anything, feel free to correct me.
    Never argue with an idiot, they bring you down to their level and beat you with experience -- Dilbert

  3. #3
    Member
    Join Date
    Dec 2002
    Location
    Soquel, CA 95073
    Posts
    40
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Java code in Winrunner

    If Java code is in an executeable JAR, can launch the "app" from WinRunner, but I'm not aware of any way to call individual methods within a JAR.

  4. #4
    Junior Member
    Join Date
    Mar 2006
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Java code in Winrunner

    of course you can use Java add-in to invoke java classes and methods by using of jco_ and java_ functions

  5. #5
    Junior Member
    Join Date
    Apr 2003
    Location
    ottawa
    Posts
    26
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Java code in Winrunner

    Not sure what your intention is. But anyway, in my company, besides winrunner, we also use TPTP to automate some tests. TPTP is part of Eclipse open source project. One of TPTP functions is to record and playback just like winrunner does, but end up with java code.

    check it out: http://www.eclipse.org/tptp/

 

 

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 9.38%
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 09:51 AM.

Copyright BetaSoft Inc.