You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This complete framework is built by following [Testing Mini Bytes](https://www.youtube.com/playlist?list=PL9ok7C7Yn9A_JZFMrhrgEwfqQGiuyvSkB) Youtube channel. Do checkout his awesome vidoes.
<tdclass="colFirst"><ahref="com/testnepal/listeners/AnnotationTransformer.html" title="class in com.testnepal.listeners">AnnotationTransformer</a></td>
117
-
<thclass="colLast" scope="row"> </th>
117
+
<thclass="colLast" scope="row">
118
+
<divclass="block">Implements <code>IAnnotationTransformer</code> to leverage certain functionality like updating the annotations of test
119
+
methods at runtime.</div>
120
+
</th>
118
121
</tr>
119
122
<trid="i1" class="rowColor">
120
123
<tdclass="colFirst"><ahref="com/testnepal/pages/BasePage.html" title="class in com.testnepal.pages">BasePage</a></td>
121
124
<thclass="colLast" scope="row"> </th>
122
125
</tr>
123
126
<trid="i2" class="altColor">
124
127
<tdclass="colFirst"><ahref="com/testnepal/tests/BaseTest.html" title="class in com.testnepal.tests">BaseTest</a></td>
125
-
<thclass="colLast" scope="row"> </th>
128
+
<thclass="colLast" scope="row">
129
+
<divclass="block">Acts as a parent class for all the test classes in this framework.</div>
130
+
</th>
126
131
</tr>
127
132
<trid="i3" class="rowColor">
128
133
<tdclass="colFirst"><ahref="com/testnepal/enums/CategoryType.html" title="enum in com.testnepal.enums">CategoryType</a></td>
129
-
<thclass="colLast" scope="row"> </th>
134
+
<thclass="colLast" scope="row">
135
+
<divclass="block">Enums to restrict the values allowed for grouping the tests.</div>
136
+
</th>
130
137
</tr>
131
138
<trid="i4" class="altColor">
132
139
<tdclass="colFirst"><ahref="com/testnepal/enums/ConfigProperties.html" title="enum in com.testnepal.enums">ConfigProperties</a></td>
133
-
<thclass="colLast" scope="row"> </th>
140
+
<thclass="colLast" scope="row">
141
+
<divclass="block">Enums to restrict the values used on Property files.</div>
142
+
</th>
134
143
</tr>
135
144
<trid="i5" class="rowColor">
136
145
<tdclass="colFirst"><ahref="com/testnepal/utils/DataProviderUtils.html" title="class in com.testnepal.utils">DataProviderUtils</a></td>
137
-
<thclass="colLast" scope="row"> </th>
146
+
<thclass="colLast" scope="row">
147
+
<divclass="block">Holds the data provider for all the test cases in the framework.</div>
148
+
</th>
138
149
</tr>
139
150
<trid="i6" class="altColor">
140
151
<tdclass="colFirst"><ahref="com/testnepal/utils/DecodeUtils.html" title="class in com.testnepal.utils">DecodeUtils</a></td>
141
-
<thclass="colLast" scope="row"> </th>
152
+
<thclass="colLast" scope="row">
153
+
<divclass="block">Helps to decode the base64 encoded string.</div>
154
+
</th>
142
155
</tr>
143
156
<trid="i7" class="rowColor">
144
157
<tdclass="colFirst"><ahref="com/testnepal/driver/DriverManager.html" title="class in com.testnepal.driver">DriverManager</a></td>
145
158
<thclass="colLast" scope="row">
146
-
<divclass="block">23-Jan-2021</div>
159
+
<divclass="block">Driver class is responsible for handling and thread safety for the webdriver instance.</div>
<tdclass="colFirst"><ahref="com/testnepal/utils/DynamicXpathUtils.html" title="class in com.testnepal.utils">DynamicXpathUtils</a></td>
157
-
<thclass="colLast" scope="row"> </th>
170
+
<thclass="colLast" scope="row">
171
+
<divclass="block">Constructs a dynamic xpath at run time.</div>
172
+
</th>
158
173
</tr>
159
174
<trid="i10" class="altColor">
160
175
<tdclass="colFirst"><ahref="com/testnepal/utils/ExcelUtils.html" title="class in com.testnepal.utils">ExcelUtils</a></td>
161
-
<thclass="colLast" scope="row"> </th>
176
+
<thclass="colLast" scope="row">
177
+
<divclass="block">Utility class to read or write to excel.</div>
178
+
</th>
162
179
</tr>
163
180
<trid="i11" class="rowColor">
164
181
<tdclass="colFirst"><ahref="com/testnepal/factories/ExplicitWaitFactory.html" title="class in com.testnepal.factories">ExplicitWaitFactory</a></td>
165
-
<thclass="colLast" scope="row"> </th>
182
+
<thclass="colLast" scope="row">
183
+
<divclass="block">Explicit wait factory produces different waits before operating on webelement</div>
184
+
</th>
166
185
</tr>
167
186
<trid="i12" class="altColor">
168
187
<tdclass="colFirst"><ahref="com/testnepal/reports/ExtentLogger.html" title="class in com.testnepal.reports">ExtentLogger</a></td>
169
-
<thclass="colLast" scope="row"> </th>
188
+
<thclass="colLast" scope="row">
189
+
<divclass="block">Used for logging the events in the extent report.</div>
190
+
</th>
170
191
</tr>
171
192
<trid="i13" class="rowColor">
172
193
<tdclass="colFirst"><ahref="com/testnepal/reports/ExtentManager.html" title="class in com.testnepal.reports">ExtentManager</a></td>
173
-
<thclass="colLast" scope="row"> </th>
194
+
<thclass="colLast" scope="row">
195
+
<divclass="block">ExtentManager class helps to achieve thread safety for the <code>ExtentTest</code> instance.</div>
196
+
</th>
174
197
</tr>
175
198
<trid="i14" class="altColor">
176
199
<tdclass="colFirst"><ahref="com/testnepal/reports/ExtentReport.html" title="class in com.testnepal.reports">ExtentReport</a></td>
177
-
<thclass="colLast" scope="row"> </th>
200
+
<thclass="colLast" scope="row">
201
+
<divclass="block">Perform initialisation and termination of <code>ExtentReports</code>
202
+
After creating an instance for <code>ExtentTest</code>, it is delegated to ThreadLocal
203
+
variable for providing thread safety.</div>
204
+
</th>
178
205
</tr>
179
206
<trid="i15" class="rowColor">
180
207
<tdclass="colFirst"><ahref="com/testnepal/annotations/FrameworkAnnotation.html" title="annotation in com.testnepal.annotations">FrameworkAnnotation</a></td>
181
-
<thclass="colLast" scope="row"> </th>
208
+
<thclass="colLast" scope="row">
209
+
<divclass="block">Framework Annotation is user built annotation which is annotated on top of test methods to log the author details and
210
+
category details to the extent report.</div>
211
+
</th>
182
212
</tr>
183
213
<trid="i16" class="altColor">
184
214
<tdclass="colFirst"><ahref="com/testnepal/constants/FrameworkConstant.html" title="class in com.testnepal.constants">FrameworkConstant</a></td>
185
-
<thclass="colLast" scope="row"> </th>
215
+
<thclass="colLast" scope="row">
216
+
<divclass="block">Framework Constants holds all the constant values used within the framework.</div>
217
+
</th>
186
218
</tr>
187
219
<trid="i17" class="rowColor">
188
220
<tdclass="colFirst"><ahref="com/testnepal/exceptions/FrameworkExceptions.html" title="class in com.testnepal.exceptions">FrameworkExceptions</a></td>
189
-
<thclass="colLast" scope="row"> </th>
221
+
<thclass="colLast" scope="row">
222
+
<divclass="block">BaseException for the framework.</div>
223
+
</th>
190
224
</tr>
191
225
<trid="i18" class="altColor">
192
226
<tdclass="colFirst"><ahref="com/testnepal/exceptions/InvalidExcelPathException.html" title="class in com.testnepal.exceptions">InvalidExcelPathException</a></td>
193
-
<thclass="colLast" scope="row"> </th>
227
+
<thclass="colLast" scope="row">
228
+
<divclass="block">Runtime Exception occurs when the path given for excel sheet is incorrect.</div>
229
+
</th>
194
230
</tr>
195
231
<trid="i19" class="rowColor">
196
232
<tdclass="colFirst"><ahref="com/testnepal/utils/JsonReaderUtils.html" title="class in com.testnepal.utils">JsonReaderUtils</a></td>
197
-
<thclass="colLast" scope="row"> </th>
233
+
<thclass="colLast" scope="row">
234
+
<divclass="block">To construct the map by the reading the config values from JSON.</div>
235
+
</th>
198
236
</tr>
199
237
<trid="i20" class="altColor">
200
238
<tdclass="colFirst"><ahref="com/testnepal/listeners/ListenersClass.html" title="class in com.testnepal.listeners">ListenersClass</a></td>
201
-
<thclass="colLast" scope="row"> </th>
239
+
<thclass="colLast" scope="row">
240
+
<divclass="block">Implements <code>ITestListener</code> and <code>ISuiteListener</code> to leverage the abstract methods
241
+
Mostly used to help in extent report generation</div>
242
+
</th>
202
243
</tr>
203
244
<trid="i21" class="rowColor">
204
245
<tdclass="colFirst"><ahref="com/testnepal/listeners/MethodInterceptor.html" title="class in com.testnepal.listeners">MethodInterceptor</a></td>
205
-
<thclass="colLast" scope="row"> </th>
246
+
<thclass="colLast" scope="row">
247
+
<divclass="block">Implements <code>IMethodInterceptor</code> to leverage the abstract methods
248
+
Mostly used to read the data from excel and decides on which tests needs to run.</div>
249
+
</th>
206
250
</tr>
207
251
<trid="i22" class="altColor">
208
252
<tdclass="colFirst"><ahref="com/testnepal/pages/OrangeHRMHomePage.html" title="class in com.testnepal.pages">OrangeHRMHomePage</a></td>
<tdclass="colFirst"><ahref="com/testnepal/tests/OrangeHRMTest.html" title="class in com.testnepal.tests">OrangeHRMTest</a></td>
217
-
<thclass="colLast" scope="row"> </th>
261
+
<thclass="colLast" scope="row">
262
+
<divclass="block">Contains the tests related to Orange HRM page.</div>
263
+
</th>
218
264
</tr>
219
265
<trid="i25" class="rowColor">
220
266
<tdclass="colFirst"><ahref="com/testnepal/exceptions/PropertyFileUsageException.html" title="class in com.testnepal.exceptions">PropertyFileUsageException</a></td>
221
-
<thclass="colLast" scope="row"> </th>
267
+
<thclass="colLast" scope="row">
268
+
<divclass="block">Runtime Exception occurs when the key or value fetched from the property file is null</div>
269
+
</th>
222
270
</tr>
223
271
<trid="i26" class="altColor">
224
272
<tdclass="colFirst"><ahref="com/testnepal/utils/PropertyUtils.html" title="class in com.testnepal.utils">PropertyUtils</a></td>
225
-
<thclass="colLast" scope="row"> </th>
273
+
<thclass="colLast" scope="row">
274
+
<divclass="block">Read the property file and store it in a HashMap for faster processing.</div>
275
+
</th>
226
276
</tr>
227
277
<trid="i27" class="rowColor">
228
278
<tdclass="colFirst"><ahref="com/testnepal/listeners/RetryFailedTests.html" title="class in com.testnepal.listeners">RetryFailedTests</a></td>
<divclass="block">Stores the category in form of Enum Array.</div>
169
+
</td>
153
170
</tr>
154
171
</table>
155
172
</li>
@@ -175,6 +192,10 @@ <h3>Element Detail</h3>
175
192
<liclass="blockList">
176
193
<h4>author</h4>
177
194
<pre>java.lang.String[] author</pre>
195
+
<divclass="block">Store author name who created test as String[]</div>
196
+
<dl>
197
+
<dt><spanclass="returnLabel">Returns:</span></dt>
198
+
</dl>
178
199
</li>
179
200
</ul>
180
201
</li>
@@ -189,6 +210,10 @@ <h4>author</h4>
189
210
<liclass="blockList">
190
211
<h4>category</h4>
191
212
<pre><ahref="../enums/CategoryType.html" title="enum in com.testnepal.enums">CategoryType</a>[] category</pre>
213
+
<divclass="block">Stores the category in form of Enum Array. Include the possible values in <ahref="../enums/CategoryType.html" title="enum in com.testnepal.enums"><code>CategoryType</code></a></div>
0 commit comments