blob: 6443e3f6291d27e0d5a6c86b721c5725ead91a9d [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.StepParams.StepParams.StepParams</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.StepParams-module.html">Package&nbsp;StepParams</a> ::
43 <a href="TestON.examples.StepParams.StepParams-module.html">Module&nbsp;StepParams</a> ::
44 Class&nbsp;StepParams
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.StepParams.StepParams.StepParams-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 StepParams</h1><p class="nomargin-top"><span class="codelink"><a href="TestON.examples.StepParams.StepParams-pysrc.html#StepParams">source&nbsp;code</a></span></p>
62<pre class="literalblock">
63
64This example shows the usage of the STEP level parameters, in params file the
65[[CASE1]]
66[[[STEP1]]]
67 'host' = 'h2'
68
69We can get this STEP level parameter like :
70main.params['CASE1']['STEP1']['host']
71
72
73ofautomation&gt;run StepParams example 1
74
75</pre>
76
77<!-- ==================== INSTANCE METHODS ==================== -->
78<a name="section-InstanceMethods"></a>
79<table class="summary" border="1" cellpadding="3"
80 cellspacing="0" width="100%" bgcolor="white">
81<tr bgcolor="#70b0f0" class="table-header">
82 <td colspan="2" class="table-header">
83 <table border="0" cellpadding="0" cellspacing="0" width="100%">
84 <tr valign="top">
85 <td align="left"><span class="table-header">Instance Methods</span></td>
86 <td align="right" valign="top"
87 ><span class="options">[<a href="#section-InstanceMethods"
88 class="privatelink" onclick="toggle_private();"
89 >hide private</a>]</span></td>
90 </tr>
91 </table>
92 </td>
93</tr>
94<tr>
95 <td width="15%" align="right" valign="top" class="summary">
96 <span class="summary-type">&nbsp;</span>
97 </td><td class="summary">
98 <table width="100%" cellpadding="0" cellspacing="0" border="0">
99 <tr>
100 <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>
101 <td align="right" valign="top">
102 <span class="codelink"><a href="TestON.examples.StepParams.StepParams-pysrc.html#StepParams.__init__">source&nbsp;code</a></span>
103
104 </td>
105 </tr>
106 </table>
107
108 </td>
109 </tr>
110<tr>
111 <td width="15%" align="right" valign="top" class="summary">
112 <span class="summary-type">&nbsp;</span>
113 </td><td class="summary">
114 <table width="100%" cellpadding="0" cellspacing="0" border="0">
115 <tr>
116 <td><span class="summary-sig"><a name="CASE1"></a><span class="summary-sig-name">CASE1</span>(<span class="summary-sig-arg">self</span>,
117 <span class="summary-sig-arg">main</span>)</span><br />
118 This example will showcase the usage of STEP level parameters to
119 specify the host as h2</td>
120 <td align="right" valign="top">
121 <span class="codelink"><a href="TestON.examples.StepParams.StepParams-pysrc.html#StepParams.CASE1">source&nbsp;code</a></span>
122
123 </td>
124 </tr>
125 </table>
126
127 </td>
128 </tr>
129<tr>
130 <td width="15%" align="right" valign="top" class="summary">
131 <span class="summary-type">&nbsp;</span>
132 </td><td class="summary">
133 <table width="100%" cellpadding="0" cellspacing="0" border="0">
134 <tr>
135 <td><span class="summary-sig"><a name="CASE2"></a><span class="summary-sig-name">CASE2</span>(<span class="summary-sig-arg">self</span>,
136 <span class="summary-sig-arg">main</span>)</span><br />
137 This example will showcase the usage of STEP level parameters to
138 specify the host as h3</td>
139 <td align="right" valign="top">
140 <span class="codelink"><a href="TestON.examples.StepParams.StepParams-pysrc.html#StepParams.CASE2">source&nbsp;code</a></span>
141
142 </td>
143 </tr>
144 </table>
145
146 </td>
147 </tr>
148</table>
149<!-- ==================== NAVIGATION BAR ==================== -->
150<table class="navbar" border="0" width="100%" cellpadding="0"
151 bgcolor="#a0c0ff" cellspacing="0">
152 <tr valign="middle">
153 <!-- Home link -->
154 <th>&nbsp;&nbsp;&nbsp;<a
155 href="TestON-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
156
157 <!-- Tree link -->
158 <th>&nbsp;&nbsp;&nbsp;<a
159 href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
160
161 <!-- Index link -->
162 <th>&nbsp;&nbsp;&nbsp;<a
163 href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
164
165 <!-- Help link -->
166 <th>&nbsp;&nbsp;&nbsp;<a
167 href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
168
169 <th class="navbar" width="100%"></th>
170 </tr>
171</table>
172<table border="0" cellpadding="0" cellspacing="0" width="100%%">
173 <tr>
174 <td align="left" class="footer">
175 Generated by Epydoc 3.0.1 on Mon Mar 11 12:56:26 2013
176 </td>
177 <td align="right" class="footer">
178 <a target="mainFrame" href="http://epydoc.sourceforge.net"
179 >http://epydoc.sourceforge.net</a>
180 </td>
181 </tr>
182</table>
183
184<script type="text/javascript">
185 <!--
186 // Private objects are initially displayed (because if
187 // javascript is turned off then we want them to be
188 // visible); but by default, we want to hide them. So hide
189 // them unless we have a cookie that says to show them.
190 checkCookie();
191 // -->
192</script>
193</body>
194</html>