168 |
169 |
--------------------------------------------------------------------------------
/test-output/Suite/Running in Chrome Browser .xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
16 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/test-output/Suite/Running in Firefox Browser .html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
71 | FAILED TESTS
72 | Test method
73 | Exception
74 | Time (seconds)
75 | Instance
76 |
77 |
78 | clicSign Test class: com.qa.TestCases.LandingPageTest
79 | org.openqa.selenium.NoSuchElementException: Unable to locate element: //h1[contains(text(),'Login')]
80 | For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
81 | Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
82 | System info: host: 'Tohidurs-Air', ip: '2a02:c7e:10b3:1200:f50a:cb51:dbe1:1a41%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.7', java.version: '11.0.15.1'
83 | Driver info: org.openqa.selenium.firefox.FirefoxDriver
84 | Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 103.0.2, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20220808125904, moz:geckodriverVersion: 0.31.0, moz:headless: false, moz:platformVersion: 19.6.0, moz:processID: 8957, moz:profile: /var/folders/hw/9qtphsf54yb..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platform: MAC, platformName: MAC, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
85 | Session ID: 6e897150-e191-4965-927d-d18536e43f90
86 | *** Element info: {Using=xpath, value=//h1[contains(text(),'Login')]}
87 | at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
88 | at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
89 | at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
90 | at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
91 | at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
92 | at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
93 | at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
94 | at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428)
95 | at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
96 | at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
97 | at com.qa.pageUtils.ElementFetch.getWebElement(ElementFetch.java:29)
98 | at com.qa.pageObjects.LoginPageElements.virifyLoginPageOpenOrNot(LoginPageElements.java:24)
99 | at com.qa.TestCases.LandingPageTest.clicSign(LandingPageTest.java:22)
100 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
101 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
102 | at java.base/java.lang.Thread.run(Thread.java:834)
103 | ... Removed 16 stack frames Click to show all stack frames
104 | org.openqa.selenium.NoSuchElementException: Unable to locate element: //h1[contains(text(),'Login')]
105 | For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
106 | Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
107 | System info: host: 'Tohidurs-Air', ip: '2a02:c7e:10b3:1200:f50a:cb51:dbe1:1a41%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.7', java.version: '11.0.15.1'
108 | Driver info: org.openqa.selenium.firefox.FirefoxDriver
109 | Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 103.0.2, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20220808125904, moz:geckodriverVersion: 0.31.0, moz:headless: false, moz:platformVersion: 19.6.0, moz:processID: 8957, moz:profile: /var/folders/hw/9qtphsf54yb..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platform: MAC, platformName: MAC, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
110 | Session ID: 6e897150-e191-4965-927d-d18536e43f90
111 | *** Element info: {Using=xpath, value=//h1[contains(text(),'Login')]}
112 | at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
113 | at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
114 | at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
115 | at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
116 | at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
117 | at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
118 | at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
119 | at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
120 | at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
121 | at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
122 | at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
123 | at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428)
124 | at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
125 | at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
126 | at com.qa.pageUtils.ElementFetch.getWebElement(ElementFetch.java:29)
127 | at com.qa.pageObjects.LoginPageElements.virifyLoginPageOpenOrNot(LoginPageElements.java:24)
128 | at com.qa.TestCases.LandingPageTest.clicSign(LandingPageTest.java:22)
129 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
130 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
131 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
132 | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
133 | at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:135)
134 | at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
135 | at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
136 | at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
137 | at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:821)
138 | at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
139 | at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
140 | at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
141 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
142 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
143 | at java.base/java.lang.Thread.run(Thread.java:834)
144 |
145 | 11
146 | com.qa.TestCases.LandingPageTest@51dcb805
147 |
166 |
167 |
--------------------------------------------------------------------------------
/test-output/Suite/Running in Firefox Browser .xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
15 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/test-output/Suite/testng-failed.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/test-output/bullet_point.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sourovbm21/SeleniunJavaTestNgExtentPageObjectModelFrameWork/623141e5bbe3cf0c882888e0e7f12eef0fb6cc09/test-output/bullet_point.png
--------------------------------------------------------------------------------
/test-output/collapseall.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sourovbm21/SeleniunJavaTestNgExtentPageObjectModelFrameWork/623141e5bbe3cf0c882888e0e7f12eef0fb6cc09/test-output/collapseall.gif
--------------------------------------------------------------------------------
/test-output/emailable-report.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
154 |
155 |
156 |
157 |
158 |
159 |
com.qa.TestCases.LandingPageTest
160 |
161 |
162 |
163 |
164 |
165 |
166 |
clicSign
167 |
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//h1[contains(text(),'Login')]"}
168 | (Session info: chrome=104.0.5112.101)
169 | For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
170 | Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
171 | System info: host: 'Tohidurs-Air', ip: '2a02:c7e:10b3:1200:f50a:cb51:dbe1:1a41%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.7', java.version: '11.0.15.1'
172 | Driver info: org.openqa.selenium.chrome.ChromeDriver
173 | Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 104.0.5112.101, chrome: {chromedriverVersion: 104.0.5112.79 (3cf3e8c8a07d..., userDataDir: /var/folders/hw/9qtphsf54yb...}, goog:chromeOptions: {debuggerAddress: localhost:50587}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: MAC, platformName: MAC, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
174 | Session ID: 228f3ac0cee7e7336751559d24b87a3f
175 | *** Element info: {Using=xpath, value=//h1[contains(text(),'Login')]}
176 | at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
177 | at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
178 | at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
179 | at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
180 | at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
181 | at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
182 | at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
183 | at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428)
184 | at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
185 | at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
186 | at com.qa.pageUtils.ElementFetch.getWebElement(ElementFetch.java:29)
187 | at com.qa.pageObjects.LoginPageElements.virifyLoginPageOpenOrNot(LoginPageElements.java:24)
188 | at com.qa.TestCases.LandingPageTest.clicSign(LandingPageTest.java:22)
189 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
190 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
191 | at java.base/java.lang.Thread.run(Thread.java:834)
192 | ... Removed 16 stack frames
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
clicSign
201 |
org.openqa.selenium.NoSuchElementException: Unable to locate element: //h1[contains(text(),'Login')]
202 | For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
203 | Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
204 | System info: host: 'Tohidurs-Air', ip: '2a02:c7e:10b3:1200:f50a:cb51:dbe1:1a41%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.7', java.version: '11.0.15.1'
205 | Driver info: org.openqa.selenium.firefox.FirefoxDriver
206 | Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 103.0.2, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20220808125904, moz:geckodriverVersion: 0.31.0, moz:headless: false, moz:platformVersion: 19.6.0, moz:processID: 8957, moz:profile: /var/folders/hw/9qtphsf54yb..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platform: MAC, platformName: MAC, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
207 | Session ID: 6e897150-e191-4965-927d-d18536e43f90
208 | *** Element info: {Using=xpath, value=//h1[contains(text(),'Login')]}
209 | at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
210 | at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
211 | at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
212 | at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
213 | at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
214 | at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
215 | at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
216 | at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428)
217 | at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
218 | at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
219 | at com.qa.pageUtils.ElementFetch.getWebElement(ElementFetch.java:29)
220 | at com.qa.pageObjects.LoginPageElements.virifyLoginPageOpenOrNot(LoginPageElements.java:24)
221 | at com.qa.TestCases.LandingPageTest.clicSign(LandingPageTest.java:22)
222 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
223 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
224 | at java.base/java.lang.Thread.run(Thread.java:834)
225 | ... Removed 16 stack frames
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
com.qa.TestCases.LoginPageTest
235 |
236 |
237 |
238 |
239 |
240 |
241 |
checkemaiIdField
242 |
243 |
244 |
245 |
246 |
247 |
248 |
checkemaiIdField
249 |
250 |
251 |
252 |
253 |
254 |
255 |
clickonContinueBtn
256 |
257 |
258 |
259 |
260 |
261 |
262 |
clickonContinueBtn
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 | <?xml version="1.0" encoding="UTF-8"?>
275 | <!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
276 | <suite thread-count="2" parallel="methods" name="Suite" guice-stage="DEVELOPMENT">
277 | <listeners>
278 | <listener class-name="com.qa.pageUtils.SuiteListener"/>
279 | </listeners>
280 | <test thread-count="2" parallel="methods" name="Running in Chrome Browser ">
281 | <parameter name="browserName" value="chrome"/>
282 | <classes>
283 | <class name="com.qa.TestCases.LoginPageTest"/>
284 | <class name="com.qa.TestCases.LandingPageTest"/>
285 | </classes>
286 | </test> <!-- Running in Chrome Browser -->
287 | <test thread-count="2" parallel="methods" name="Running in Firefox Browser ">
288 | <parameter name="browserName" value="firefox"/>
289 | <classes>
290 | <class name="com.qa.TestCases.LoginPageTest"/>
291 | <class name="com.qa.TestCases.LandingPageTest"/>
292 | </classes>
293 | </test> <!-- Running in Firefox Browser -->
294 | </suite> <!-- Suite -->
295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 | Running in Chrome Browser (2 classes)
306 |
307 |
308 | Running in Firefox Browser (2 classes)
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 |
326 |
363 |
Total running time: 38 seconds
364 |
365 |
366 |
367 |
368 |
369 |
370 |
371 |
372 |
373 |
374 |
375 |
376 |
377 |
378 |
379 |
380 |
381 |
382 |
com.qa.TestCases.LandingPageTest
383 |
384 | afterTestMethod
385 |
386 | afterTestMethod
387 |
388 | beforeTestMethod
389 |
390 | beforeTestMethod
391 |
392 |
393 |
394 |
395 |
396 |
397 |
398 |
399 |
400 |
401 |
402 |
com.qa.TestCases.LoginPageTest
403 |
404 | beforeTestMethod
405 | 0 ms
406 |
407 |
408 | beforeMethodMethod(chrome, public void com.qa.TestCases.LoginPageTest.checkemaiIdField())
409 | 454 ms
410 |
411 |
412 | beforeMethodMethod(chrome, public void com.qa.TestCases.LoginPageTest.clickonContinueBtn())
413 | 454 ms
414 |
415 |
416 | checkemaiIdField
417 | 14824 ms
418 |
419 |
420 | clickonContinueBtn
421 | 16682 ms
422 |
423 |
424 | afterMethodMethod([TestResult name=checkemaiIdField status=SUCCESS method=LoginPageTest.checkemaiIdField()[pri:0, inst...)
425 | 20046 ms
426 |
427 |
428 |
429 |
com.qa.TestCases.LandingPageTest
430 |
431 | beforeMethodMethod(chrome, public void com.qa.TestCases.LandingPageTest.clicSign())
432 | 20301 ms
433 |
434 |
435 |
436 |
com.qa.TestCases.LoginPageTest
437 |
438 | afterMethodMethod([TestResult name=clickonContinueBtn status=SUCCESS method=LoginPageTest.clickonContinueBtn()[pri:0, ...)
439 | 22255 ms
440 |
441 |
442 |
443 |
com.qa.TestCases.LandingPageTest
444 |
445 |
446 |
447 |
clicSign
448 |
26582 ms
449 |
450 |
451 | afterMethodMethod([TestResult name=clicSign status=FAILURE method=LandingPageTest.clicSign()[pri:0, instance:com.qa.Te...)
452 | 37674 ms
453 |
454 |
455 |
456 |
com.qa.TestCases.LoginPageTest
457 |
458 | afterTestMethod
459 | 38617 ms
460 |
461 |
462 | beforeTestMethod
463 | 39773 ms
464 |
465 |
466 | beforeMethodMethod(firefox, public void com.qa.TestCases.LoginPageTest.checkemaiIdField())
467 | 39778 ms
468 |
469 |
470 | beforeMethodMethod(firefox, public void com.qa.TestCases.LoginPageTest.clickonContinueBtn())
471 | 39784 ms
472 |
473 |
474 | clickonContinueBtn
475 | 63384 ms
476 |
477 |
478 | checkemaiIdField
479 | 63943 ms
480 |
481 |
482 | afterMethodMethod([TestResult name=checkemaiIdField status=SUCCESS method=LoginPageTest.checkemaiIdField()[pri:0, inst...)
483 | 65479 ms
484 |
485 |
486 | afterMethodMethod([TestResult name=clickonContinueBtn status=SUCCESS method=LoginPageTest.clickonContinueBtn()[pri:0, ...)
487 | 66458 ms
488 |
489 |
490 |
491 |
com.qa.TestCases.LandingPageTest
492 |
493 | beforeMethodMethod(firefox, public void com.qa.TestCases.LandingPageTest.clicSign())
494 | 68043 ms
495 |
496 |
497 |
498 |
499 |
clicSign
500 |
75871 ms
501 |
502 |
503 | afterMethodMethod([TestResult name=clicSign status=FAILURE method=LandingPageTest.clicSign()[pri:0, instance:com.qa.Te...)
504 | 87505 ms
505 |
506 |
507 |
508 |
com.qa.TestCases.LoginPageTest
509 |
510 | afterTestMethod
511 | 88740 ms
512 |
513 |
514 |
515 |
516 |
517 |
518 |
519 |
520 |
--------------------------------------------------------------------------------
/test-output/junitreports/TEST-com.qa.TestCases.LandingPageTest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
13 |
54 |
55 |
56 |
57 |
58 |
67 |
109 |
110 |
111 |
112 |
113 |
--------------------------------------------------------------------------------
/test-output/junitreports/TEST-com.qa.TestCases.LoginPageTest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test-output/navigator-bullet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sourovbm21/SeleniunJavaTestNgExtentPageObjectModelFrameWork/623141e5bbe3cf0c882888e0e7f12eef0fb6cc09/test-output/navigator-bullet.png
--------------------------------------------------------------------------------
/test-output/old/Suite/Running in Chrome Browser .properties:
--------------------------------------------------------------------------------
1 | [SuiteResult context=Running in Chrome Browser ][SuiteResult context=Running in Firefox Browser ]
--------------------------------------------------------------------------------
/test-output/old/Suite/Running in Firefox Browser .properties:
--------------------------------------------------------------------------------
1 | [SuiteResult context=Running in Chrome Browser ][SuiteResult context=Running in Firefox Browser ]
--------------------------------------------------------------------------------
/test-output/old/Suite/classes.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Class name
4 | Method name
5 | Groups
6 |
7 | com.qa.TestCases.LandingPageTest
8 |
9 |
10 | @Test
11 |
12 |
13 |
14 | clicSign
15 |
16 |
17 | @BeforeClass
18 |
19 |
20 | @BeforeMethod
21 |
22 |
23 |
24 | beforeMethodMethod
25 |
26 |
27 | @AfterMethod
28 |
29 |
30 |
31 | afterMethodMethod
32 |
33 |
34 | @AfterClass
35 |
36 |
37 | com.qa.TestCases.LoginPageTest
38 |
39 |
40 | @Test
41 |
42 |
43 |
44 | clickonContinueBtn
45 |
46 |
47 |
48 | checkemaiIdField
49 |
50 |
51 | @BeforeClass
52 |
53 |
54 | @BeforeMethod
55 |
56 |
57 |
58 | beforeMethodMethod
59 |
60 |
61 | @AfterMethod
62 |
63 |
64 |
65 | afterMethodMethod
66 |
67 |
68 | @AfterClass
69 |
70 |
71 |
--------------------------------------------------------------------------------
/test-output/old/Suite/groups.html:
--------------------------------------------------------------------------------
1 |
Groups used for this test run
--------------------------------------------------------------------------------
/test-output/old/Suite/index.html:
--------------------------------------------------------------------------------
1 |
Results for Suite
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/test-output/old/Suite/main.html:
--------------------------------------------------------------------------------
1 |
Results for Suite
2 | Select a result on the left-hand pane.
3 |
--------------------------------------------------------------------------------
/test-output/old/Suite/methods-alphabetical.html:
--------------------------------------------------------------------------------
1 |
Methods run, sorted chronologically >> means before, << means after
Suite
(Hover the method name to see the test class name)
2 |
3 | Time Delta (ms) Suite configuration Test configuration Class configuration Groups configuration Method configuration Test method Thread Instances
4 | 22/08/19 16:36:49 0 <<afterMethodMethod
5 | TestNG-test=Running in Chrome Browser -2@909492469
6 | 22/08/19 16:36:51 2209 <<afterMethodMethod
7 | TestNG-test=Running in Chrome Browser -2@909492469
8 | 22/08/19 16:37:07 17629 <<afterMethodMethod
9 | TestNG-test=Running in Chrome Browser -1@1406183951
10 | 22/08/19 16:37:34 45433 <<afterMethodMethod
11 | TestNG-test=Running in Firefox Browser -2@514050597
12 | 22/08/19 16:37:35 46413 <<afterMethodMethod
13 | TestNG-test=Running in Firefox Browser -2@514050597
14 | 22/08/19 16:37:56 67460 <<afterMethodMethod
15 | TestNG-test=Running in Firefox Browser -1@1380989921
16 | 22/08/19 16:37:08 18572 <<afterTestMethod
17 | main@2051120548
18 | 22/08/19 16:37:58 68695 <<afterTestMethod
19 | main@2051120548
20 | 22/08/19 16:36:29 -19589 >>beforeMethodMethod
21 | TestNG-test=Running in Chrome Browser -2@909492469
22 | 22/08/19 16:36:29 -19589 >>beforeMethodMethod
23 | TestNG-test=Running in Chrome Browser -2@909492469
24 | 22/08/19 16:36:49 255 >>beforeMethodMethod
25 | TestNG-test=Running in Chrome Browser -1@1406183951
26 | 22/08/19 16:37:09 19738 >>beforeMethodMethod
27 | TestNG-test=Running in Firefox Browser -1@1380989921
28 | 22/08/19 16:37:09 19746 >>beforeMethodMethod
29 | TestNG-test=Running in Firefox Browser -1@1380989921
30 | 22/08/19 16:37:37 47998 >>beforeMethodMethod
31 | TestNG-test=Running in Firefox Browser -1@1380989921
32 | 22/08/19 16:36:29 -20022 >>beforeTestMethod
33 | main@2051120548
34 | 22/08/19 16:37:09 19728 >>beforeTestMethod
35 | main@2051120548
36 | 22/08/19 16:36:44 -5222 checkemaiIdField
37 | TestNG-test=Running in Chrome Browser -1@1406183951
38 | 22/08/19 16:37:33 43897 checkemaiIdField
39 | TestNG-test=Running in Firefox Browser -1@1380989921
40 | 22/08/19 16:36:55 6536 clicSign
41 | TestNG-test=Running in Chrome Browser -1@1406183951
42 | 22/08/19 16:37:45 55825 clicSign
43 | TestNG-test=Running in Firefox Browser -1@1380989921
44 | 22/08/19 16:36:46 -3364 clickonContinueBtn
45 | TestNG-test=Running in Chrome Browser -2@909492469
46 | 22/08/19 16:37:32 43338 clickonContinueBtn
47 | TestNG-test=Running in Firefox Browser -2@514050597
48 |
49 |
--------------------------------------------------------------------------------
/test-output/old/Suite/methods-not-run.html:
--------------------------------------------------------------------------------
1 |
Methods that were not run
2 | com.qa.base.TestBase.afterTestMethod
3 | com.qa.base.TestBase.beforeTestMethod
4 | com.qa.base.TestBase.afterTestMethod
5 | com.qa.base.TestBase.beforeTestMethod
6 |
--------------------------------------------------------------------------------
/test-output/old/Suite/methods.html:
--------------------------------------------------------------------------------
1 |
Methods run, sorted chronologically >> means before, << means after
Suite
(Hover the method name to see the test class name)
2 |
3 | Time Delta (ms) Suite configuration Test configuration Class configuration Groups configuration Method configuration Test method Thread Instances
4 | 22/08/19 16:36:29 0 >>beforeTestMethod
5 | main@2051120548
6 | 22/08/19 16:36:29 433 >>beforeMethodMethod
7 | TestNG-test=Running in Chrome Browser -2@909492469
8 | 22/08/19 16:36:29 433 >>beforeMethodMethod
9 | TestNG-test=Running in Chrome Browser -2@909492469
10 | 22/08/19 16:36:44 14800 checkemaiIdField
11 | TestNG-test=Running in Chrome Browser -1@1406183951
12 | 22/08/19 16:36:46 16658 clickonContinueBtn
13 | TestNG-test=Running in Chrome Browser -2@909492469
14 | 22/08/19 16:36:49 20022 <<afterMethodMethod
15 | TestNG-test=Running in Chrome Browser -2@909492469
16 | 22/08/19 16:36:49 20277 >>beforeMethodMethod
17 | TestNG-test=Running in Chrome Browser -1@1406183951
18 | 22/08/19 16:36:51 22231 <<afterMethodMethod
19 | TestNG-test=Running in Chrome Browser -2@909492469
20 | 22/08/19 16:36:55 26558 clicSign
21 | TestNG-test=Running in Chrome Browser -1@1406183951
22 | 22/08/19 16:37:07 37651 <<afterMethodMethod
23 | TestNG-test=Running in Chrome Browser -1@1406183951
24 | 22/08/19 16:37:08 38594 <<afterTestMethod
25 | main@2051120548
26 | 22/08/19 16:37:09 39750 >>beforeTestMethod
27 | main@2051120548
28 | 22/08/19 16:37:09 39760 >>beforeMethodMethod
29 | TestNG-test=Running in Firefox Browser -1@1380989921
30 | 22/08/19 16:37:09 39768 >>beforeMethodMethod
31 | TestNG-test=Running in Firefox Browser -1@1380989921
32 | 22/08/19 16:37:32 63360 clickonContinueBtn
33 | TestNG-test=Running in Firefox Browser -2@514050597
34 | 22/08/19 16:37:33 63919 checkemaiIdField
35 | TestNG-test=Running in Firefox Browser -1@1380989921
36 | 22/08/19 16:37:34 65455 <<afterMethodMethod
37 | TestNG-test=Running in Firefox Browser -2@514050597
38 | 22/08/19 16:37:35 66435 <<afterMethodMethod
39 | TestNG-test=Running in Firefox Browser -2@514050597
40 | 22/08/19 16:37:37 68020 >>beforeMethodMethod
41 | TestNG-test=Running in Firefox Browser -1@1380989921
42 | 22/08/19 16:37:45 75847 clicSign
43 | TestNG-test=Running in Firefox Browser -1@1380989921
44 | 22/08/19 16:37:56 87482 <<afterMethodMethod
45 | TestNG-test=Running in Firefox Browser -1@1380989921
46 | 22/08/19 16:37:58 88717 <<afterTestMethod
47 | main@2051120548
48 |
49 |
--------------------------------------------------------------------------------
/test-output/old/Suite/reporter-output.html:
--------------------------------------------------------------------------------
1 |
Reporter output
--------------------------------------------------------------------------------
/test-output/old/Suite/testng.xml.html:
--------------------------------------------------------------------------------
1 |
testng.xml for Suite <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd"> <suite thread-count="2" parallel="methods" name="Suite" guice-stage="DEVELOPMENT"> <listeners> <listener class-name="com.qa.pageUtils.SuiteListener"/> </listeners> <test thread-count="2" parallel="methods" name="Running in Chrome Browser "> <parameter name="browserName" value="chrome"/> <classes> <class name="com.qa.TestCases.LoginPageTest"/> <class name="com.qa.TestCases.LandingPageTest"/> </classes> </test> <!-- Running in Chrome Browser --> <test thread-count="2" parallel="methods" name="Running in Firefox Browser "> <parameter name="browserName" value="firefox"/> <classes> <class name="com.qa.TestCases.LoginPageTest"/> <class name="com.qa.TestCases.LandingPageTest"/> </classes> </test> <!-- Running in Firefox Browser --> </suite> <!-- Suite -->
--------------------------------------------------------------------------------
/test-output/old/Suite/toc.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Results for Suite
4 |
5 |
6 |
7 |
8 |
Results forSuite
9 |
23 |
24 |
25 | Running in Chrome Browser (2/1/0)
26 | Results
27 |
28 |
29 |
30 |
31 |
32 |
33 | Running in Firefox Browser (2/1/0)
34 | Results
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/test-output/old/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
Test results
6 |
Suite Passed Failed Skipped testng.xml
7 | Total 4 2 0
8 | Suite
9 | 4 2 0 Link
10 |
--------------------------------------------------------------------------------
/test-output/passed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sourovbm21/SeleniunJavaTestNgExtentPageObjectModelFrameWork/623141e5bbe3cf0c882888e0e7f12eef0fb6cc09/test-output/passed.png
--------------------------------------------------------------------------------
/test-output/skipped.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sourovbm21/SeleniunJavaTestNgExtentPageObjectModelFrameWork/623141e5bbe3cf0c882888e0e7f12eef0fb6cc09/test-output/skipped.png
--------------------------------------------------------------------------------
/test-output/testng-failed.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/test-output/testng-reports.css:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0 0 5px 5px;
3 | }
4 |
5 | ul {
6 | margin: 0;
7 | }
8 |
9 | li {
10 | list-style-type: none;
11 | }
12 |
13 | a {
14 | text-decoration: none;
15 | }
16 |
17 | a:hover {
18 | text-decoration: underline;
19 | }
20 |
21 | .navigator-selected {
22 | background: #ffa500;
23 | }
24 |
25 | .wrapper {
26 | position: absolute;
27 | top: 60px;
28 | bottom: 0;
29 | left: 400px;
30 | right: 0;
31 | overflow: auto;
32 | }
33 |
34 | .navigator-root {
35 | position: absolute;
36 | top: 60px;
37 | bottom: 0;
38 | left: 0;
39 | width: 400px;
40 | overflow-y: auto;
41 | }
42 |
43 | .suite {
44 | margin: 0 10px 10px 0;
45 | background-color: #fff8dc;
46 | }
47 |
48 | .suite-name {
49 | padding-left: 10px;
50 | font-size: 25px;
51 | font-family: Times, sans-serif;
52 | }
53 |
54 | .main-panel-header {
55 | padding: 5px;
56 | background-color: #9FB4D9; /*afeeee*/;
57 | font-family: monospace;
58 | font-size: 18px;
59 | }
60 |
61 | .main-panel-content {
62 | padding: 5px;
63 | margin-bottom: 10px;
64 | background-color: #DEE8FC; /*d0ffff*/;
65 | }
66 |
67 | .rounded-window {
68 | border-radius: 10px;
69 | border-style: solid;
70 | border-width: 1px;
71 | }
72 |
73 | .rounded-window-top {
74 | border-top-right-radius: 10px 10px;
75 | border-top-left-radius: 10px 10px;
76 | border-style: solid;
77 | border-width: 1px;
78 | overflow: auto;
79 | }
80 |
81 | .light-rounded-window-top {
82 | border-top-right-radius: 10px 10px;
83 | border-top-left-radius: 10px 10px;
84 | }
85 |
86 | .rounded-window-bottom {
87 | border-style: solid;
88 | border-width: 0 1px 1px 1px;
89 | border-bottom-right-radius: 10px 10px;
90 | border-bottom-left-radius: 10px 10px;
91 | overflow: auto;
92 | }
93 |
94 | .method-name {
95 | font-size: 12px;
96 | font-family: monospace;
97 | }
98 |
99 | .method-content {
100 | border-style: solid;
101 | border-width: 0 0 1px 0;
102 | margin-bottom: 10px;
103 | padding-bottom: 5px;
104 | width: 80%;
105 | }
106 |
107 | .parameters {
108 | font-size: 14px;
109 | font-family: monospace;
110 | }
111 |
112 | .stack-trace {
113 | white-space: pre;
114 | font-family: monospace;
115 | font-size: 12px;
116 | font-weight: bold;
117 | margin-top: 0;
118 | margin-left: 20px;
119 | }
120 |
121 | .testng-xml {
122 | font-family: monospace;
123 | }
124 |
125 | .method-list-content {
126 | margin-left: 10px;
127 | }
128 |
129 | .navigator-suite-content {
130 | margin-left: 10px;
131 | font: 12px 'Lucida Grande';
132 | }
133 |
134 | .suite-section-title {
135 | margin-top: 10px;
136 | width: 80%;
137 | border-style: solid;
138 | border-width: 1px 0 0 0;
139 | font-family: Times, sans-serif;
140 | font-size: 18px;
141 | font-weight: bold;
142 | }
143 |
144 | .suite-section-content {
145 | list-style-image: url(bullet_point.png);
146 | }
147 |
148 | .top-banner-root {
149 | position: absolute;
150 | top: 0;
151 | height: 45px;
152 | left: 0;
153 | right: 0;
154 | padding: 5px;
155 | margin: 0 0 5px 0;
156 | background-color: #0066ff;
157 | font-family: Times, sans-serif;
158 | color: #fff;
159 | text-align: center;
160 | }
161 | .button{
162 | position: absolute;
163 | margin-left:500px;
164 | margin-top:8px;
165 | background-color: white;
166 | color:#0066ff;
167 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
168 | font-weight:bold;
169 | border-color:#0066ff ;
170 | border-radius:25px;
171 | cursor: pointer;
172 | height:30px;
173 | width:150px;
174 | outline:none;
175 |
176 | }
177 |
178 | .top-banner-title-font {
179 | font-size: 25px;
180 | }
181 |
182 | .test-name {
183 | font-family: 'Lucida Grande', sans-serif;
184 | font-size: 16px;
185 | }
186 |
187 | .suite-icon {
188 | padding: 5px;
189 | float: right;
190 | height: 20px;
191 | }
192 |
193 | .test-group {
194 | font: 20px 'Lucida Grande';
195 | margin: 5px 5px 10px 5px;
196 | border-width: 0 0 1px 0;
197 | border-style: solid;
198 | padding: 5px;
199 | }
200 |
201 | .test-group-name {
202 | font-weight: bold;
203 | }
204 |
205 | .method-in-group {
206 | font-size: 16px;
207 | margin-left: 80px;
208 | }
209 |
210 | table.google-visualization-table-table {
211 | width: 100%;
212 | }
213 |
214 | .reporter-method-name {
215 | font-size: 14px;
216 | font-family: monospace;
217 | }
218 |
219 | .reporter-method-output-div {
220 | padding: 5px;
221 | margin: 0 0 5px 20px;
222 | font-size: 12px;
223 | font-family: monospace;
224 | border-width: 0 0 0 1px;
225 | border-style: solid;
226 | }
227 |
228 | .ignored-class-div {
229 | font-size: 14px;
230 | font-family: monospace;
231 | }
232 |
233 | .ignored-methods-div {
234 | padding: 5px;
235 | margin: 0 0 5px 20px;
236 | font-size: 12px;
237 | font-family: monospace;
238 | border-width: 0 0 0 1px;
239 | border-style: solid;
240 | }
241 |
242 | .border-failed {
243 | border-top-left-radius: 10px 10px;
244 | border-bottom-left-radius: 10px 10px;
245 | border-style: solid;
246 | border-width: 0 0 0 10px;
247 | border-color: #f00;
248 | }
249 |
250 | .border-skipped {
251 | border-top-left-radius: 10px 10px;
252 | border-bottom-left-radius: 10px 10px;
253 | border-style: solid;
254 | border-width: 0 0 0 10px;
255 | border-color: #edc600;
256 | }
257 |
258 | .border-passed {
259 | border-top-left-radius: 10px 10px;
260 | border-bottom-left-radius: 10px 10px;
261 | border-style: solid;
262 | border-width: 0 0 0 10px;
263 | border-color: #19f52d;
264 | }
265 |
266 | .times-div {
267 | text-align: center;
268 | padding: 5px;
269 | }
270 |
271 | .suite-total-time {
272 | font: 16px 'Lucida Grande';
273 | }
274 |
275 | .configuration-suite {
276 | margin-left: 20px;
277 | }
278 |
279 | .configuration-test {
280 | margin-left: 40px;
281 | }
282 |
283 | .configuration-class {
284 | margin-left: 60px;
285 | }
286 |
287 | .configuration-method {
288 | margin-left: 80px;
289 | }
290 |
291 | .test-method {
292 | margin-left: 100px;
293 | }
294 |
295 | .chronological-class {
296 | background-color: skyblue;
297 | border-style: solid;
298 | border-width: 0 0 1px 1px;
299 | }
300 |
301 | .method-start {
302 | float: right;
303 | }
304 |
305 | .chronological-class-name {
306 | padding: 0 0 0 5px;
307 | color: #008;
308 | }
309 |
310 | .after, .before, .test-method {
311 | font-family: monospace;
312 | font-size: 14px;
313 | }
314 |
315 | .navigator-suite-header {
316 | font-size: 22px;
317 | margin: 0 10px 5px 0;
318 | background-color: #deb887;
319 | text-align: center;
320 | }
321 |
322 | .collapse-all-icon {
323 | padding: 5px;
324 | float: right;
325 | }
326 | /*retro Theme*/
327 |
--------------------------------------------------------------------------------
/test-output/testng-reports.js:
--------------------------------------------------------------------------------
1 | $(document).ready(function() {
2 | $('a.navigator-link').on("click", function() {
3 | // Extract the panel for this link
4 | var panel = getPanelName($(this));
5 |
6 | // Mark this link as currently selected
7 | $('.navigator-link').parent().removeClass('navigator-selected');
8 | $(this).parent().addClass('navigator-selected');
9 |
10 | showPanel(panel);
11 | });
12 |
13 | installMethodHandlers('failed');
14 | installMethodHandlers('skipped');
15 | installMethodHandlers('passed', true); // hide passed methods by default
16 |
17 | $('a.method').on("click", function() {
18 | showMethod($(this));
19 | return false;
20 | });
21 |
22 | // Hide all the panels and display the first one (do this last
23 | // to make sure the click() will invoke the listeners)
24 | $('.panel').hide();
25 | $('.navigator-link').first().trigger("click");
26 |
27 | // Collapse/expand the suites
28 | $('a.collapse-all-link').on("click", function() {
29 | var contents = $('.navigator-suite-content');
30 | if (contents.css('display') == 'none') {
31 | contents.show();
32 | } else {
33 | contents.hide();
34 | }
35 | });
36 | });
37 |
38 | // The handlers that take care of showing/hiding the methods
39 | function installMethodHandlers(name, hide) {
40 | function getContent(t) {
41 | return $('.method-list-content.' + name + "." + t.attr('panel-name'));
42 | }
43 |
44 | function getHideLink(t, name) {
45 | var s = 'a.hide-methods.' + name + "." + t.attr('panel-name');
46 | return $(s);
47 | }
48 |
49 | function getShowLink(t, name) {
50 | return $('a.show-methods.' + name + "." + t.attr('panel-name'));
51 | }
52 |
53 | function getMethodPanelClassSel(element, name) {
54 | var panelName = getPanelName(element);
55 | var sel = '.' + panelName + "-class-" + name;
56 | return $(sel);
57 | }
58 |
59 | $('a.hide-methods.' + name).on("click", function() {
60 | var w = getContent($(this));
61 | w.hide();
62 | getHideLink($(this), name).hide();
63 | getShowLink($(this), name).show();
64 | getMethodPanelClassSel($(this), name).hide();
65 | });
66 |
67 | $('a.show-methods.' + name).on("click", function() {
68 | var w = getContent($(this));
69 | w.show();
70 | getHideLink($(this), name).show();
71 | getShowLink($(this), name).hide();
72 | showPanel(getPanelName($(this)));
73 | getMethodPanelClassSel($(this), name).show();
74 | });
75 |
76 | if (hide) {
77 | $('a.hide-methods.' + name).trigger("click");
78 | } else {
79 | $('a.show-methods.' + name).trigger("click");
80 | }
81 | }
82 |
83 | function getHashForMethod(element) {
84 | return element.attr('hash-for-method');
85 | }
86 |
87 | function getPanelName(element) {
88 | return element.attr('panel-name');
89 | }
90 |
91 | function showPanel(panelName) {
92 | $('.panel').hide();
93 | var panel = $('.panel[panel-name="' + panelName + '"]');
94 | panel.show();
95 | }
96 |
97 | function showMethod(element) {
98 | var hashTag = getHashForMethod(element);
99 | var panelName = getPanelName(element);
100 | showPanel(panelName);
101 | var current = document.location.href;
102 | var base = current.substring(0, current.indexOf('#'))
103 | document.location.href = base + '#' + hashTag;
104 | var newPosition = $(document).scrollTop() - 65;
105 | $(document).scrollTop(newPosition);
106 | }
107 |
108 | function drawTable() {
109 | for (var i = 0; i < suiteTableInitFunctions.length; i++) {
110 | window[suiteTableInitFunctions[i]]();
111 | }
112 |
113 | for (var k in window.suiteTableData) {
114 | var v = window.suiteTableData[k];
115 | var div = v.tableDiv;
116 | var data = v.tableData
117 | var table = new google.visualization.Table(document.getElementById(div));
118 | table.draw(data, {
119 | showRowNumber : false
120 | });
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/test-output/testng-reports1.css:
--------------------------------------------------------------------------------
1 | body {
2 | background-color: whitesmoke;
3 | margin: 0 0 5px 5px;
4 | }
5 | ul {
6 | margin-top: 10px;
7 | margin-left:-10px;
8 | }
9 | li {
10 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
11 | padding:5px 5px;
12 | }
13 | a {
14 | text-decoration: none;
15 | color: black;
16 | font-size: 14px;
17 | }
18 |
19 | a:hover {
20 | color:black ;
21 | text-decoration: underline;
22 | }
23 |
24 | .navigator-selected {
25 | /* #ffa500; Mouse hover color after click Orange.*/
26 | background:#027368
27 | }
28 |
29 | .wrapper {
30 | position: absolute;
31 | top: 60px;
32 | bottom: 0;
33 | left: 400px;
34 | right: 0;
35 | margin-right:9px;
36 | overflow: auto;/*imortant*/
37 | }
38 |
39 | .navigator-root {
40 | position: absolute;
41 | top: 60px;
42 | bottom: 0;
43 | left: 0;
44 | width: 400px;
45 | overflow-y: auto;/*important*/
46 | }
47 |
48 | .suite {
49 | margin: -5px 10px 10px 5px;
50 | background-color: whitesmoke ;/*Colour of the left bside box*/
51 | }
52 |
53 | .suite-name {
54 | font-size: 24px;
55 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;/*All TEST SUITE*/
56 | color: white;
57 | }
58 |
59 | .main-panel-header {
60 | padding: 5px;
61 | background-color: #027368; /*afeeee*/;
62 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
63 | color:white;
64 | font-size: 18px;
65 | }
66 |
67 | .main-panel-content {
68 | padding: 5px;
69 | margin-bottom: 10px;
70 | background-color: #CCD0D1; /*d0ffff*/; /*Belongs to backGround of rightSide boxes*/
71 | }
72 |
73 | .rounded-window {
74 | border-style: dotted;
75 | border-width: 1px;/*Border of left Side box*/
76 | background-color: whitesmoke;
77 | border-radius: 10px;
78 | }
79 |
80 | .rounded-window-top {
81 | border-top-right-radius: 10px 10px;
82 | border-top-left-radius: 10px 10px;
83 | border-style: solid;
84 | border-width: 1px;
85 | overflow: auto;/*Top of RightSide box*/
86 | }
87 |
88 | .light-rounded-window-top {
89 | background-color: #027368;
90 | padding-left:120px;
91 | border-radius: 10px;
92 |
93 | }
94 |
95 | .rounded-window-bottom {
96 | border-bottom-right-radius: 10px 10px;
97 | border-bottom-left-radius: 10px 10px;
98 | overflow: auto;/*Bottom of rightSide box*/
99 | }
100 |
101 | .method-name {
102 | font-size: 14px;
103 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
104 | font-weight: bold;
105 | }
106 |
107 | .method-content {
108 | border-style: solid;
109 | border-width: 0 0 1px 0;
110 | margin-bottom: 10px;
111 | padding-bottom: 5px;
112 | width: 100%;
113 | }
114 |
115 | .parameters {
116 | font-size: 14px;
117 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
118 | }
119 |
120 | .stack-trace {
121 | white-space: pre;
122 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
123 | font-size: 12px;
124 | font-weight: bold;
125 | margin-top: 0;
126 | margin-left: 20px; /*Error Stack Trace Message*/
127 | }
128 |
129 | .testng-xml {
130 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
131 | }
132 |
133 | .method-list-content {
134 | margin-left: 10px;
135 | }
136 |
137 | .navigator-suite-content {
138 | margin-left: 10px;
139 | font: 12px 'Lucida Grande';
140 | }
141 |
142 | .suite-section-title {
143 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
144 | font-size: 14px;
145 | font-weight:bold;
146 | background-color: #8C8887;
147 | margin-left: -10px;
148 | margin-top:10px;
149 | padding:6px;
150 | }
151 |
152 | .suite-section-content {
153 | list-style-image: url(bullet_point.png);
154 | background-color: whitesmoke;
155 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
156 | overflow: hidden;
157 | }
158 |
159 | .top-banner-root {
160 | position: absolute;
161 | top: 0;
162 | height: 45px;
163 | left: 0;
164 | right: 0;
165 | padding: 5px;
166 | margin: 0 0 5px 0;
167 | background-color: #027368;
168 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
169 | font-size: 18px;
170 | color: #fff;
171 | text-align: center;/*Belongs to the Top of Report*//*Status: - Completed*/
172 | }
173 |
174 | .top-banner-title-font {
175 | font-size: 25px;
176 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
177 | padding: 3px;
178 | float: right;
179 | }
180 |
181 | .test-name {
182 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
183 | font-size: 16px;
184 | }
185 |
186 | .suite-icon {
187 | padding: 5px;
188 | float: right;
189 | height: 20px;
190 | }
191 |
192 | .test-group {
193 | font: 20px 'Lucida Grande';
194 | margin: 5px 5px 10px 5px;
195 | border-width: 0 0 1px 0;
196 | border-style: solid;
197 | padding: 5px;
198 | }
199 |
200 | .test-group-name {
201 | font-weight: bold;
202 | }
203 |
204 | .method-in-group {
205 | font-size: 16px;
206 | margin-left: 80px;
207 | }
208 |
209 | table.google-visualization-table-table {
210 | width: 100%;
211 | }
212 |
213 | .reporter-method-name {
214 | font-size: 14px;
215 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
216 | }
217 |
218 | .reporter-method-output-div {
219 | padding: 5px;
220 | margin: 0 0 5px 20px;
221 | font-size: 12px;
222 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
223 | border-width: 0 0 0 1px;
224 | border-style: solid;
225 | }
226 |
227 | .ignored-class-div {
228 | font-size: 14px;
229 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
230 | }
231 |
232 | .ignored-methods-div {
233 | padding: 5px;
234 | margin: 0 0 5px 20px;
235 | font-size: 12px;
236 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
237 | border-width: 0 0 0 1px;
238 | border-style: solid;
239 | }
240 |
241 | .border-failed {
242 | border-radius:2px;
243 | border-style: solid;
244 | border-width: 0 0 0 10px;
245 | border-color: #F20505;
246 | }
247 |
248 | .border-skipped {
249 | border-radius:2px;
250 | border-style: solid;
251 | border-width: 0 0 0 10px;
252 | border-color: #F2BE22;
253 | }
254 |
255 | .border-passed {
256 | border-radius:2px;
257 | border-style: solid;
258 | border-width: 0 0 0 10px;
259 | border-color: #038C73;
260 | }
261 |
262 | .times-div {
263 | text-align: center;
264 | padding: 5px;
265 | }
266 |
267 | .suite-total-time {
268 | font: 16px 'Lucida Grande';
269 | }
270 |
271 | .configuration-suite {
272 | margin-left: 20px;
273 | }
274 |
275 | .configuration-test {
276 | margin-left: 40px;
277 | }
278 |
279 | .configuration-class {
280 | margin-left: 60px;
281 | }
282 |
283 | .configuration-method {
284 | margin-left: 80px;
285 | }
286 |
287 | .test-method {
288 | margin-left: 100px;
289 | }
290 |
291 | .chronological-class {
292 | background-color: #CCD0D1;
293 | border-width: 0 0 1px 1px;/*Chronological*/
294 | }
295 |
296 | .method-start {
297 | float: right;
298 | }
299 |
300 | .chronological-class-name {
301 | padding: 0 0 0 5px;
302 | margin-top:5px;
303 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
304 | color: #008;
305 | }
306 |
307 | .after, .before, .test-method {
308 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
309 | font-size: 14px;
310 | margin-top:5px;
311 | }
312 |
313 | .navigator-suite-header {
314 | font-size: 18px;
315 | margin: 0px 10px 10px 5px;
316 | padding: 5px;
317 | border-radius: 10px;
318 | background-color: #027368;
319 | color: white;
320 | font-weight:bold;
321 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
322 | text-align: center; /*All Suites on top of left box*//*Status: -Completed*/
323 | }
324 |
325 | .collapse-all-icon {
326 | padding: 3px;
327 | float: right;
328 | }
329 | .button{
330 | position: absolute;
331 | margin-left:500px;
332 | margin-top:8px;
333 | background-color: white;
334 | color:#027368;
335 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
336 | font-weight:bold;
337 | border-color:#027368;
338 | border-radius:25px;
339 | cursor: pointer;
340 | height:30px;
341 | width:150px;
342 | outline: none;
343 | }
344 | /*Author: - Akhil Gullapalli*/
--------------------------------------------------------------------------------
/test-output/testng-reports2.js:
--------------------------------------------------------------------------------
1 | window.onload=function (){
2 | let cookies = document.cookie;
3 | let cookieValue=cookies.split('=');
4 | if(cookieValue[1]==='null' || localStorage.getItem('Theme')==='null'){
5 | document.getElementById('retro').setAttribute('disabled','false');
6 | }
7 | else if(cookieValue[1]==='Switch Ultra Theme'|| localStorage.getItem('Theme')==='Switch Ultra Theme'){
8 | document.getElementById('button').innerText="Switch Retro Theme";
9 | document.getElementById('retro').setAttribute('disabled','false');
10 |
11 | }
12 | else if(cookieValue[1]==='Switch Retro Theme'|| localStorage.getItem('Theme')==='Switch Retro Theme'){
13 | else if(cookieValue[1]==='Switch Ultra Theme'|| localStorage.getItem('Theme')==='Switch Ultra Theme'){
14 | document.getElementById('button').innerText="Switch Retro Theme";
15 | document.getElementById('retro').setAttribute('disabled','false');
16 |
17 | document.getElementById('button').innerText="Switch Ultra Theme";
18 | document.getElementById('retro').removeAttribute('disabled');
19 | document.getElementById('ultra').setAttribute('disabled','false');
20 | localStorage.setItem('Theme',select);
21 |
22 | }
23 | else if(select ==='Switch Ultra Theme'){
24 | document.getElementById('button').innerText="Switch Retro Theme";
25 | document.getElementById('ultra').removeAttribute('disabled');
26 | document.getElementById('retro').setAttribute('disabled','false');
27 | localStorage.setItem('Theme',select);
28 | }
29 | }
30 | else if(cookieValue[1]==='Switch Retro Theme'|| localStorage.getItem('Theme')==='Switch Retro Theme'){
31 | document.getElementById('button').innerText="Switch Ultra Theme";
32 | document.getElementById('ultra').setAttribute('disabled','false');
33 | }
34 | }
35 | document.getElementById('button').onclick= function(){
36 | let select = document.getElementById('button').innerText;
37 | if(select === 'Switch Retro Theme'){
38 | let d = new Date();
39 | days = 365;
40 | d.setTime(+ d + (days * 86400000)); //24 * 60 * 60 * 1000
41 | document.cookie="Theme ="+select+ "; expires=" + d.toGMTString() + ";";
42 | document.getElementById('button').innerText="Switch Ultra Theme";
43 | document.getElementById('retro').removeAttribute('disabled');
44 | document.getElementById('ultra').setAttribute('disabled','false');
45 | localStorage.setItem('Theme',select);
46 |
47 | }
48 | else if(select ==='Switch Ultra Theme'){
49 | let d = new Date();
50 | days = 365;
51 | d.setTime(+ d + (days * 86400000)); //24 * 60 * 60 * 1000
52 | document.cookie="Theme ="+select+ "; expires=" + d.toGMTString() + ";";
53 | document.getElementById('button').innerText="Switch Retro Theme";
54 | document.getElementById('ultra').removeAttribute('disabled');
55 | document.getElementById('retro').setAttribute('disabled','false');
56 | localStorage.setItem('Theme',select);
57 | }
58 | }
59 | //Function to mouse hovering affect.
60 | document.getElementById('button').onmouseover = function(){
61 | document.getElementById('button').style.borderRadius="25px";
62 | document.getElementById('button').style.width="180px";
63 | document.getElementById('button').style.height="45px";
64 | document.getElementById('button').style.marginTop="1px";
65 |
66 | }
67 | //Function to mouse out affect
68 | document.getElementById('button').onmouseout = function(){
69 | document.getElementById('button').style.borderRadius="25px";
70 | document.getElementById('button').style.width="150px";
71 | document.getElementById('button').style.height="30px";
72 | document.getElementById('button').style.marginTop="8px";
73 |
74 | }
75 |
76 | //This is the file where we handle the switching of the Themes.
77 | /*Author:- Akhil Gullapalli*/
78 |
--------------------------------------------------------------------------------
/test-output/testng-results.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
38 |
39 |
40 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
201 |
202 |
203 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
332 |
333 |
334 |
335 |
336 |
--------------------------------------------------------------------------------
/test-output/testng.css:
--------------------------------------------------------------------------------
1 | .invocation-failed, .test-failed { background-color: #DD0000; }
2 | .invocation-percent, .test-percent { background-color: #006600; }
3 | .invocation-passed, .test-passed { background-color: #00AA00; }
4 | .invocation-skipped, .test-skipped { background-color: #CCCC00; }
5 |
6 | .main-page {
7 | font-size: x-large;
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/testng.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/testng2.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------