blob: 6f06da7cb808d1da636c916c8c1a165ad38ae650 [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
Jon Halla1cdd892015-08-10 13:36:28 -070033 <!-- Project homepage -->
34 <th class="navbar" align="right" width="100%">
35 <table border="0" cellpadding="0" cellspacing="0">
36 <tr><th class="navbar" align="center"
37 >TestON</th>
38 </tr></table></th>
adminbae64d82013-08-01 10:50:15 -070039 </tr>
40</table>
41<table width="100%" cellpadding="0" cellspacing="0">
42 <tr valign="top">
43 <td width="100%">
44 <span class="breadcrumbs">
45 <a href="TestON-module.html">Package&nbsp;TestON</a> ::
46 <a href="TestON.examples-module.html">Package&nbsp;examples</a> ::
47 <a href="TestON.examples.CaseParams-module.html">Package&nbsp;CaseParams</a> ::
48 <a href="TestON.examples.CaseParams.CaseParams-module.html">Module&nbsp;CaseParams</a> ::
49 Class&nbsp;CaseParams
50 </span>
51 </td>
52 <td>
53 <table cellpadding="0" cellspacing="0">
54 <!-- hide/show private -->
55 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
56 onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
57 <tr><td align="right"><span class="options"
58 >[<a href="frames.html" target="_top">frames</a
59 >]&nbsp;|&nbsp;<a href="TestON.examples.CaseParams.CaseParams.CaseParams-class.html"
60 target="_top">no&nbsp;frames</a>]</span></td></tr>
61 </table>
62 </td>
63 </tr>
64</table>
65<!-- ==================== CLASS DESCRIPTION ==================== -->
66<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>
67<pre class="literalblock">
68
69This example shows the usage of the CASE level parameters, in params file the
70[[CASE]]
71 'destination' = 'h2'
72
73We can get this CASE level parameter like :
74main.params['CASE1']['destination']
75
76
77cd ~/bin/
78ofautomation&gt;run CaseParams example 1
79 will execute this example.
80
81</pre>
82
83<!-- ==================== INSTANCE METHODS ==================== -->
84<a name="section-InstanceMethods"></a>
85<table class="summary" border="1" cellpadding="3"
86 cellspacing="0" width="100%" bgcolor="white">
87<tr bgcolor="#70b0f0" class="table-header">
88 <td colspan="2" class="table-header">
89 <table border="0" cellpadding="0" cellspacing="0" width="100%">
90 <tr valign="top">
91 <td align="left"><span class="table-header">Instance Methods</span></td>
92 <td align="right" valign="top"
93 ><span class="options">[<a href="#section-InstanceMethods"
94 class="privatelink" onclick="toggle_private();"
95 >hide private</a>]</span></td>
96 </tr>
97 </table>
98 </td>
99</tr>
100<tr>
101 <td width="15%" align="right" valign="top" class="summary">
102 <span class="summary-type">&nbsp;</span>
103 </td><td class="summary">
104 <table width="100%" cellpadding="0" cellspacing="0" border="0">
105 <tr>
106 <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>
107 <td align="right" valign="top">
108 <span class="codelink"><a href="TestON.examples.CaseParams.CaseParams-pysrc.html#CaseParams.__init__">source&nbsp;code</a></span>
109
110 </td>
111 </tr>
112 </table>
113
114 </td>
115 </tr>
116<tr>
117 <td width="15%" align="right" valign="top" class="summary">
118 <span class="summary-type">&nbsp;</span>
119 </td><td class="summary">
120 <table width="100%" cellpadding="0" cellspacing="0" border="0">
121 <tr>
122 <td><span class="summary-sig"><a name="CASE1"></a><span class="summary-sig-name">CASE1</span>(<span class="summary-sig-arg">self</span>,
123 <span class="summary-sig-arg">main</span>)</span><br />
124 This test case will showcase usage of CASE level parameters to
125 specify the host as h2</td>
126 <td align="right" valign="top">
127 <span class="codelink"><a href="TestON.examples.CaseParams.CaseParams-pysrc.html#CaseParams.CASE1">source&nbsp;code</a></span>
128
129 </td>
130 </tr>
131 </table>
132
133 </td>
134 </tr>
135<tr>
136 <td width="15%" align="right" valign="top" class="summary">
137 <span class="summary-type">&nbsp;</span>
138 </td><td class="summary">
139 <table width="100%" cellpadding="0" cellspacing="0" border="0">
140 <tr>
141 <td><span class="summary-sig"><a name="CASE2"></a><span class="summary-sig-name">CASE2</span>(<span class="summary-sig-arg">self</span>,
142 <span class="summary-sig-arg">main</span>)</span><br />
143 This test case will showcase usage of CASE level parameters to
144 specify the host as h3</td>
145 <td align="right" valign="top">
146 <span class="codelink"><a href="TestON.examples.CaseParams.CaseParams-pysrc.html#CaseParams.CASE2">source&nbsp;code</a></span>
147
148 </td>
149 </tr>
150 </table>
151
152 </td>
153 </tr>
154</table>
155<!-- ==================== NAVIGATION BAR ==================== -->
156<table class="navbar" border="0" width="100%" cellpadding="0"
157 bgcolor="#a0c0ff" cellspacing="0">
158 <tr valign="middle">
159 <!-- Home link -->
160 <th>&nbsp;&nbsp;&nbsp;<a
161 href="TestON-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
162
163 <!-- Tree link -->
164 <th>&nbsp;&nbsp;&nbsp;<a
165 href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
166
167 <!-- Index link -->
168 <th>&nbsp;&nbsp;&nbsp;<a
169 href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
170
171 <!-- Help link -->
172 <th>&nbsp;&nbsp;&nbsp;<a
173 href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
174
Jon Halla1cdd892015-08-10 13:36:28 -0700175 <!-- Project homepage -->
176 <th class="navbar" align="right" width="100%">
177 <table border="0" cellpadding="0" cellspacing="0">
178 <tr><th class="navbar" align="center"
179 >TestON</th>
180 </tr></table></th>
adminbae64d82013-08-01 10:50:15 -0700181 </tr>
182</table>
183<table border="0" cellpadding="0" cellspacing="0" width="100%%">
184 <tr>
185 <td align="left" class="footer">
Jon Halla1cdd892015-08-10 13:36:28 -0700186 Generated by Epydoc 3.0.1 on Mon Aug 10 11:12:35 2015
adminbae64d82013-08-01 10:50:15 -0700187 </td>
188 <td align="right" class="footer">
189 <a target="mainFrame" href="http://epydoc.sourceforge.net"
190 >http://epydoc.sourceforge.net</a>
191 </td>
192 </tr>
193</table>
194
195<script type="text/javascript">
196 <!--
197 // Private objects are initially displayed (because if
198 // javascript is turned off then we want them to be
199 // visible); but by default, we want to hide them. So hide
200 // them unless we have a cookie that says to show them.
201 checkCookie();
202 // -->
203</script>
204</body>
205</html>