ISEexchange / Python-Bootcamp

Discussion/Materials regarding the Python Bootcamp class
3 stars 7 forks source link

Importing GtsEnvConfig on Windows #7

Open jwasserzug opened 10 years ago

jwasserzug commented 10 years ago
import sys

# Add ASG Library Checkout to Python Path
sys.path.append(r"J:\wassjas\SVN_TestAutomation")
# Can also update your own Python Path environment variable on your local machine
# 'Start' -> 'Edit the System Environment Variables' -> 'Environment Variables' ->
# Find 'PYTHONPATH' variable and click 'Edit'
# Append ';J:\wassjas\SVN_TestAutomation' to the string

from GtsEnvConfig.GtsEnvConfig import GtsEnvConfig

# Pass in Environment Information
g = GtsEnvConfig('tc-oat02', 15100, '051', 'None')

# Prints various data members of GtsEnvConfig object
g.printDataMembers()

@vraghunandan @bdambola @kwokman @dsapienza @DRozentsvay @gganeshan @cbautista1002 @xingj53 @wcorrea @rklotz @isehgu @akbamaa