blob: b51f8bf5dd345b84982ebf54f47556710bf0b6af [file] [log] [blame]
adminbae64d82013-08-01 10:50:15 -07001<?xml version="1.0" encoding="ascii"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "DTD/xhtml1-transitional.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5<head>
6 <title>TestON.examples.CaseParams.CaseParams.CaseParams</title>
7 <link rel="stylesheet" href="epydoc.css" type="text/css" />
8 <script type="text/javascript" src="epydoc.js"></script>
9</head>
10
11<body bgcolor="white" text="black" link="blue" vlink="#204080"
12 alink="#204080">
13<!-- ==================== NAVIGATION BAR ==================== -->
14<table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
16 <tr valign="middle">
17 <!-- Home link -->
18 <th>&nbsp;&nbsp;&nbsp;<a
19 href="TestON-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21 <!-- Tree link -->
22 <th>&nbsp;&nbsp;&nbsp;<a
23 href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25 <!-- Index link -->
26 <th>&nbsp;&nbsp;&nbsp;<a
27 href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29 <!-- Help link -->
30 <th>&nbsp;&nbsp;&nbsp;<a
31 href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33 <th class="navbar" width="100%"></th>
34 </tr>
35</table>
36<table width="100%" cellpadding="0" cellspacing="0">
37 <tr valign="top">
38 <td width="100%">
39 <span class="breadcrumbs">
40 <a href="TestON-module.html">Package&nbsp;TestON</a> ::
41 <a href="TestON.examples-module.html">Package&nbsp;examples</a> ::
42 <a href="TestON.examples.CaseParams-module.html">Package&nbsp;CaseParams</a> ::
43 <a href="TestON.examples.CaseParams.CaseParams-module.html">Module&nbsp;CaseParams</a> ::
44 Class&nbsp;CaseParams
45 </span>
46 </td>
47 <td>
48 <table cellpadding="0" cellspacing="0">
49 <!-- hide/show private -->
50 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
51 onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
52 <tr><td align="right"><span class="options"
53 >[<a href="frames.html" target="_top">frames</a
54 >]&nbsp;|&nbsp;<a href="TestON.examples.CaseParams.CaseParams.CaseParams-class.html"
55 target="_top">no&nbsp;frames</a>]</span></td></tr>
56 </table>
57 </td>
58 </tr>
59</table>
60<!-- ==================== CLASS DESCRIPTION ==================== -->
61<h1 class="epydoc">Class CaseParams</h1><p class="nomargin-top"><span class="codelink"><a href="TestON.examples.CaseParams.CaseParams-pysrc.html#CaseParams">source&nbsp;code</a></span></p>
62<pre class="literalblock">
63
64This example shows the usage of the CASE level parameters, in params file the
65[[CASE]]
66 'destination' = 'h2'
67
68We can get this CASE level parameter like :
69main.params['CASE1']['destination']
70
71
72cd ~/bin/
73ofautomation&gt;run CaseParams example 1
74 will execute this example.
75
76</pre>
77
78<!-- ==================== INSTANCE METHODS ==================== -->
79<a name="section-InstanceMethods"></a>
80<table class="summary" border="1" cellpadding="3"
81 cellspacing="0" width="100%" bgcolor="white">
82<tr bgcolor="#70b0f0" class="table-header">
83 <td colspan="2" class="table-header">
84 <table border="0" cellpadding="0" cellspacing="0" width="100%">
85 <tr valign="top">
86 <td align="left"><span class="table-header">Instance Methods</span></td>
87 <td align="right" valign="top"
88 ><span class="options">[<a href="#section-InstanceMethods"
89 class="privatelink" onclick="toggle_private();"
90 >hide private</a>]</span></td>
91 </tr>
92 </table>
93 </td>
94</tr>
95<tr>
96 <td width="15%" align="right" valign="top" class="summary">
97 <span class="summary-type">&nbsp;</span>
98 </td><td class="summary">
99 <table width="100%" cellpadding="0" cellspacing="0" border="0">
100 <tr>
101 <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>)</span></td>
102 <td align="right" valign="top">
103 <span class="codelink"><a href="TestON.examples.CaseParams.CaseParams-pysrc.html#CaseParams.__init__">source&nbsp;code</a></span>
104
105 </td>
106 </tr>
107 </table>
108
109 </td>
110 </tr>
111<tr>
112 <td width="15%" align="right" valign="top" class="summary">
113 <span class="summary-type">&nbsp;</span>
114 </td><td class="summary">
115 <table width="100%" cellpadding="0" cellspacing="0" border="0">
116 <tr>
117 <td><span class="summary-sig"><a name="CASE1"></a><span class="summary-sig-name">CASE1</span>(<span class="summary-sig-arg">self</span>,
118 <span class="summary-sig-arg">main</span>)</span><br />
119 This test case will showcase usage of CASE level parameters to
120 specify the host as h2</td>
121 <td align="right" valign="top">
122 <span class="codelink"><a href="TestON.examples.CaseParams.CaseParams-pysrc.html#CaseParams.CASE1">source&nbsp;code</a></span>
123
124 </td>
125 </tr>
126 </table>
127
128 </td>
129 </tr>
130<tr>
131 <td width="15%" align="right" valign="top" class="summary">
132 <span class="summary-type">&nbsp;</span>
133 </td><td class="summary">
134 <table width="100%" cellpadding="0" cellspacing="0" border="0">
135 <tr>
136 <td><span class="summary-sig"><a name="CASE2"></a><span class="summary-sig-name">CASE2</span>(<span class="summary-sig-arg">self</span>,
137 <span class="summary-sig-arg">main</span>)</span><br />
138 This test case will showcase usage of CASE level parameters to
139 specify the host as h3</td>
140 <td align="right" valign="top">
141 <span class="codelink"><a href="TestON.examples.CaseParams.CaseParams-pysrc.html#CaseParams.CASE2">source&nbsp;code</a></span>
142
143 </td>
144 </tr>
145 </table>
146
147 </td>
148 </tr>
149</table>
150<!-- ==================== NAVIGATION BAR ==================== -->
151<table class="navbar" border="0" width="100%" cellpadding="0"
152 bgcolor="#a0c0ff" cellspacing="0">
153 <tr valign="middle">
154 <!-- Home link -->
155 <th>&nbsp;&nbsp;&nbsp;<a
156 href="TestON-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
157
158 <!-- Tree link -->
159 <th>&nbsp;&nbsp;&nbsp;<a
160 href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
161
162 <!-- Index link -->
163 <th>&nbsp;&nbsp;&nbsp;<a
164 href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
165
166 <!-- Help link -->
167 <th>&nbsp;&nbsp;&nbsp;<a
168 href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
169
170 <th class="navbar" width="100%"></th>
171 </tr>
172</table>
173<table border="0" cellpadding="0" cellspacing="0" width="100%%">
174 <tr>
175 <td align="left" class="footer">
176 Generated by Epydoc 3.0.1 on Mon Mar 11 12:56:26 2013
177 </td>
178 <td align="right" class="footer">
179 <a target="mainFrame" href="http://epydoc.sourceforge.net"
180 >http://epydoc.sourceforge.net</a>
181 </td>
182 </tr>
183</table>
184
185<script type="text/javascript">
186 <!--
187 // Private objects are initially displayed (because if
188 // javascript is turned off then we want them to be
189 // visible); but by default, we want to hide them. So hide
190 // them unless we have a cookie that says to show them.
191 checkCookie();
192 // -->
193</script>
194</body>
195</html>