SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    May 2007
    Posts
    76
    Post Thanks / Like
    Blog Entries
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to associate SuperHelper Class to a script and call the methods

    General IBM RFT architecture is

    Rational Test script--->Helper Class----Script


    But I am trying to implement

    Rational Test script--->Super Helper Class---->Helper Class----Script



    So I could create Super helper class,my questions are

    1)how can I assign super helper class to the script

    2)how to call super helper class methods to the script

  2. #2
    Apprentice
    Join Date
    Oct 2013
    Location
    London
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    1)how can I assign super helper class to the script
    To assign it, Right click on a script -> Properties -> "Functional Test Scirpt" tab -> Helper Superclass field.

    By default, the field value would be 'RationalTestScript'. Change it to your customized new Super Helper class.


    2)how to call super helper class methods to the script
    You can directly call the methods of Helper Superclass in your script. If you are not able to do that, create a instance of the superclass and use it. With some knowledge around Java, you can achieve it easily.

 

 

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 © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.34%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:23 PM.

Copyright BetaSoft Inc.