SPONSORS:






User Tag List

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

    Viewing environment variables

    Is there a way to read the environment variables in a test without knowing the name of the variable name. By this i mean, I create env variables from various sub routines, I want to be able to view the variables without knowing there specific name. Something like looping through the contents of the environemnt variables. I was also wondering if there was a way of exporting the contents of the environment variables at run time. I have looked at some answers...

    http://www.qaforums.com/cgi-bin/foru...;f=20;t=004193

    but this doesnt really help me in terms of exporting the varible file at runtime. I read through the QTP automation obj ref with no joy.

    Any Ideas

    A_F
    http://insidesqa.blogspot.com
    QTP, Selenium, Agile, CMMi, Test Architecture

  2. #2
    Moderator
    Join Date
    Sep 2001
    Location
    Doncaster, UK
    Posts
    5,788
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Viewing environment variables

    If you want to do this you need to use Dictionary Objects as you can perform a .Exist method on these.

    Mark Smith.

  3. #3
    Senior Member
    Join Date
    Feb 2005
    Posts
    246
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Viewing environment variables

    Thanks Mark, I will investigate this.

    A_F
    http://insidesqa.blogspot.com
    QTP, Selenium, Agile, CMMi, Test Architecture

 

 

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 08:17 AM.

Copyright BetaSoft Inc.