SPONSORS:






User Tag List

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

    Passing object between scripts

    Hello friends,

    I'm having a hard time trying to pass an object created in one script to other scripts.
    Normally if those scripts were run as iterations of one test based on data table, I would have no problem passing the object using Environment variables.
    The problem is that I run my scripts from QC using it's scheduler and QC has this peculiar behaviour of opening QTP, executing a script, stopping, closing QTP, opening QTP once again, opening a new script, running it, closing QTP, and so on... This results in all environment variables being lost.
    Serializing/Unserializing the object using some text file is not an option, as this object is being created by parsing an Excel file and since it's huge (objects within objects within the object) it takes about 40 seconds to create the object. This is why I'd like to create it once and pass it around to other scripts.
    Is there any way to do it?

    Thanks and regards,
    Stanisław Mieszkowski

  2. #2
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0
    Your basically look for belowhttp://www.knowledgeinbox.com/downloads/general/shared-store/and the documentation is onhttp://www.knowledgeinbox.com/help/sharedstoreapi/

 

 

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 12.50%
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 10:27 AM.

Copyright BetaSoft Inc.