SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Feb 2009
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    QTP actions Vanishing from test flow

    Hello,

    I recently began having issues where my re-usuable actions will vanish from my test flow. I have designed my tests to be extremely modular, broken up across multiple actions. Due to the nature of the App I'm testing, I broke these actions into two seperate QTP test. These actions were then called from a third (master) QTP Test which controlled the entire test flow from a spreadsheet (Data Driven).

    --Problem 1--
    My actions began disappearing from the test flow frame. The files for the action located in the Action# folder still remained and the calls within the QTP script still remained as well. Once more the actions did not report as a missing resource. They just simply did not appear in the test flow. I've found this to be extremely random and hard to repeat. It seems they just fail to be loaded when loading a test. If I closed QTP and re-opened it along with the test sometimes they re-appear.

    If I add another action with the same name, Magically the action re-appears in the test flow, however, it is actually just the new action listed twice. The only way to get back the action I've found is to hope QTP re-loads it, or to copy the code out of the MTS File and re-create the action.

    --Problem 2--
    When linking actions across tests, I've found that not all actions are listed in the Action Drop Down List. All of the actions are re-usuable. I found that if trying to call an action from within the same test works fine, however, when trying to call the action from an external test not all the actions are listed.

    If anyone has any insight to what might be causing this any help would be appreciated.

  2. #2
    Member
    Join Date
    Mar 2007
    Location
    Near Paris
    Posts
    64
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP actions Vanishing from test flow

    owh. got the same problem.
    It disappeared magically back after some tidy up work. don't know where that comes from.
    "The greatest illusion is that mankind has limitations" (Robert A. Monroe).

  3. #3
    Junior Member
    Join Date
    Apr 2009
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP actions Vanishing from test flow

    I've had this problem. I found it occurs when Test.tsp gets out of shape. There are 2 of us working on a project and using SVN. We weren't checking in the Test.tsp file every time we created new actions, so QTP didn't know all the actions on all the machines. It caused both the disappearing issues and the not avilable in drop down issue.

    Now we keep 5-10 blank actions available for use. When more are needed, we bring down a fresh copy and add new actions checking in the test.tsp file as well. PAIN.

    When this happened the first time the only way I could fix it was by literally creating a new test flow. I started a new project, renamed and copied the expected code into the appropriate folder and saved everything. Not sure if this extreme was necessary but it solve the problem. I couldn't think of any other way. We had around 30 actions when this occurred and now have close to 60, I wouldn't want to go through it again!

 

 

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

Copyright BetaSoft Inc.