SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Exception Recovery Scenario

    Hi All,

    We have requirement to implement Exception recovery scenario like :-
    1) Stop execution
    2) Retry the Step
    3) Skip Execution

    as per the requirement. Can some one help on how this can be done in RFT (Im using JavaScripting)?

  2. #2
    Member
    Join Date
    Jul 2009
    Location
    Hyderabad,INDIA
    Posts
    382
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Exception Recovery Scenario

    Hi Deepika,

    This type of the recovery scenario can be only achieved with Hybrid framework for RFT. If you have implemented the scripts with higly matured Hybdrid keyword driven approach in that case you can handle this recovery scenario if your particular keyword is failed.

    By the way are you using any automatin frmaework with RFT?
    Thanks and Regards,
    Sathish

  3. #3
    Junior Member
    Join Date
    Oct 2011
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Exception Recovery Scenario

    Hi Sathish,

    Thanks for your reply.
    Can you post a few examples or approach as how this can be done with Hybrid framework that uses Keyword driven approach?

    Regards,
    Deepika

  4. #4
    Member
    Join Date
    Jul 2009
    Location
    Hyderabad,INDIA
    Posts
    382
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Exception Recovery Scenario

    Sorry I can't post the examples on this as we have developed this hybrid framework for a Client. But i can give you one Developerworks article link which may help you.

    http://www.ibm.com/developerworks/ra...06/0523_kelly/

    Hope this helps you!!
    Thanks and Regards,
    Sathish

  5. #5
    SQA Knight
    Join Date
    May 2006
    Location
    Playa Del Rey, California, United States
    Posts
    2,593
    Post Thanks / Like
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Exception Recovery Scenario

    If you want to do something quick and dirty, you can just write a method that instantiates and calls your script or script steps within a try/catch block, this will prevent errors from bubbling to the the top level where it'll stop execution. Then depending on then catch the exceptions and dispatch corresponding events based on the settings (stop, retry, etc...). Then you can create an event handler to handle those error events in a manner you like.
    David Lai
    SDET / Consultant
    LinkedIn profile

 

 

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 10.71%
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 12:10 AM.

Copyright BetaSoft Inc.