Tests passed/Failed/Skipped: | 1/1/0 | 59 |
Started on: | Wed Aug 15 13:35:44 IST 2018 | 61 |
Total time: | 0 seconds (34 ms) | 63 |
Included groups: | 65 | |
Excluded groups: | 67 | |
FAILED TESTS | |||
Test method | 73 |Exception | 74 |Time (seconds) | 75 |Instance | 76 |
test3 Test class: demo.TestNGRetryFailedDemo |
79 | java.lang.AssertionError: expected [true] but found [false] 80 | at demo.TestNGRetryFailedDemo.test3(TestNGRetryFailedDemo.java:22) 81 | ... Removed 29 stack frames java.lang.AssertionError: expected [true] but found [false] 83 | at org.testng.Assert.fail(Assert.java:96) 84 | at org.testng.Assert.failNotEquals(Assert.java:776) 85 | at org.testng.Assert.assertTrue(Assert.java:44) 86 | at org.testng.Assert.assertTrue(Assert.java:54) 87 | at demo.TestNGRetryFailedDemo.test3(TestNGRetryFailedDemo.java:22) 88 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 89 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 90 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 91 | at java.lang.reflect.Method.invoke(Unknown Source) 92 | at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) 93 | at org.testng.internal.Invoker.invokeMethod(Invoker.java:580) 94 | at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716) 95 | at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988) 96 | at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) 97 | at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) 98 | at org.testng.TestRunner.privateRun(TestRunner.java:648) 99 | at org.testng.TestRunner.run(TestRunner.java:505) 100 | at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) 101 | at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450) 102 | at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415) 103 | at org.testng.SuiteRunner.run(SuiteRunner.java:364) 104 | at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) 105 | at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84) 106 | at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208) 107 | at org.testng.TestNG.runSuitesLocally(TestNG.java:1137) 108 | at org.testng.TestNG.runSuites(TestNG.java:1049) 109 | at org.testng.TestNG.run(TestNG.java:1017) 110 | at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114) 111 | at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251) 112 | at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77) 113 | |
114 | 0 | 115 |demo.TestNGRetryFailedDemo@3aeaafa6 |
117 |
PASSED TESTS | |||
Test method | 120 |Exception | 121 |Time (seconds) | 122 |Instance | 123 |
test2 Test class: demo.TestNGRetryFailedDemo |
126 | 127 | | 0 | 128 |demo.TestNGRetryFailedDemo@3aeaafa6 |
130 |
131 |
--------------------------------------------------------------------------------
/SeleniumJavaFramework/test-output/Failed suite [Default suite]/Default test(failed).xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Tests passed/Failed/Skipped: | 0/0/0 | 59 |
Started on: | Wed Aug 15 12:33:26 IST 2018 | 61 |
Total time: | 0 seconds (15 ms) | 63 |
Included groups: | 65 | |
Excluded groups: | 67 | |
Tests passed/Failed/Skipped: | 1/0/0 | 59 |
Started on: | Mon Aug 13 12:38:17 IST 2018 | 61 |
Total time: | 5 seconds (5025 ms) | 63 |
Included groups: | 65 | |
Excluded groups: | 67 | |
PASSED TESTS | |||
Test method | 73 |Exception | 74 |Time (seconds) | 75 |Instance | 76 |
test1 Test class: demo.TestNGMultiBrowserTestingDemo |
79 | 80 | | 1 | 81 |demo.TestNGMultiBrowserTestingDemo@e720b71 |
83 |
84 |
--------------------------------------------------------------------------------
/SeleniumJavaFramework/test-output/Suite/Chrome Test.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Tests passed/Failed/Skipped: | 1/0/0 | 59 |
Started on: | Mon Aug 13 12:38:17 IST 2018 | 61 |
Total time: | 5 seconds (5236 ms) | 63 |
Included groups: | 65 | |
Excluded groups: | 67 | |
PASSED TESTS | |||
Test method | 73 |Exception | 74 |Time (seconds) | 75 |Instance | 76 |
test1 Test class: demo.TestNGMultiBrowserTestingDemo |
79 | 80 | | 1 | 81 |demo.TestNGMultiBrowserTestingDemo@1fc2b765 |
83 |
84 |
--------------------------------------------------------------------------------
/SeleniumJavaFramework/test-output/Suite/Firefox Test.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Tests passed/Failed/Skipped: | 0/1/0 | 59 |
Started on: | Mon Aug 13 12:38:17 IST 2018 | 61 |
Total time: | 0 seconds (59 ms) | 63 |
Included groups: | 65 | |
Excluded groups: | 67 | |
FAILED TESTS | |||
Test method | 73 |Exception | 74 |Time (seconds) | 75 |Instance | 76 |
test1 Test class: demo.TestNGMultiBrowserTestingDemo |
79 | java.lang.NullPointerException 80 | at demo.TestNGMultiBrowserTestingDemo.test1(TestNGMultiBrowserTestingDemo.java:44) 81 | at java.util.concurrent.FutureTask.run(Unknown Source) 82 | at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 83 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 84 | at java.lang.Thread.run(Unknown Source) 85 | ... Removed 16 stack frames java.lang.NullPointerException 87 | at demo.TestNGMultiBrowserTestingDemo.test1(TestNGMultiBrowserTestingDemo.java:44) 88 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 89 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 90 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 91 | at java.lang.reflect.Method.invoke(Unknown Source) 92 | at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) 93 | at org.testng.internal.Invoker.invokeMethod(Invoker.java:583) 94 | at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719) 95 | at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989) 96 | at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) 97 | at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) 98 | at org.testng.TestRunner.privateRun(TestRunner.java:648) 99 | at org.testng.TestRunner.run(TestRunner.java:505) 100 | at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) 101 | at org.testng.SuiteRunner.access$000(SuiteRunner.java:40) 102 | at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489) 103 | at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52) 104 | at java.util.concurrent.FutureTask.run(Unknown Source) 105 | at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 106 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 107 | at java.lang.Thread.run(Unknown Source) 108 | |
109 | 0 | 110 |demo.TestNGMultiBrowserTestingDemo@78ac1102 |
112 |
113 |
--------------------------------------------------------------------------------
/SeleniumJavaFramework/test-output/Suite/IE Test.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Tests passed/Failed/Skipped: | 1/0/0 | 59 |
Started on: | Mon Aug 13 12:29:28 IST 2018 | 61 |
Total time: | 3 seconds (3087 ms) | 63 |
Included groups: | 65 | |
Excluded groups: | 67 | |
PASSED TESTS | |||
Test method | 73 |Exception | 74 |Time (seconds) | 75 |Instance | 76 |
test1 Test class: demo.TestNGMultiBrowserTestingDemo |
79 | 80 | | 0 | 81 |demo.TestNGMultiBrowserTestingDemo@11758f2a |
83 |
84 |
--------------------------------------------------------------------------------
/SeleniumJavaFramework/test-output/Suite/Test.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Tests passed/Failed/Skipped: | 1/0/0 | 59 |
Started on: | Tue Aug 14 15:26:38 IST 2018 | 61 |
Total time: | 0 seconds (33 ms) | 63 |
Included groups: | 65 | |
Excluded groups: | 67 | |
PASSED TESTS | |||
Test method | 73 |Exception | 74 |Time (seconds) | 75 |Instance | 76 |
test Test class: demo.TestNGParametersDemo Parameters: Raghav |
79 | 80 | | 0 | 81 |demo.TestNGParametersDemo@12f41634 |
83 |
84 |
--------------------------------------------------------------------------------
/SeleniumJavaFramework/test-output/Suite1/Test1.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Tests passed/Failed/Skipped: | 1/0/0 | 59 |
Started on: | Mon Aug 13 12:53:48 IST 2018 | 61 |
Total time: | 11 seconds (11366 ms) | 63 |
Included groups: | 65 | |
Excluded groups: | 67 | |
PASSED TESTS | |||
Test method | 73 |Exception | 74 |Time (seconds) | 75 |Instance | 76 |
test1 Test class: demo.TestNGMultiBrowserDemo |
79 | 80 | | 5 | 81 |demo.TestNGMultiBrowserDemo@e720b71 |
83 |
84 |
--------------------------------------------------------------------------------
/SeleniumJavaFramework/test-output/Suite1/TestOnChrome.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Test | # Passed | # Skipped | # Failed | Time (ms) | Included Groups | Excluded Groups |
---|---|---|---|---|---|---|
Default suite | ||||||
Default test | 0 | 0 | 1 | 4,551 |
Class | Method | Start | Time (ms) |
---|---|---|---|
Default suite | |||
Default test — failed | |||
demo.FluentWaitDemo | test1 | 1534583346976 | 4521 |
Exception |
---|
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
17 | (Session info: chrome=68.0.3440.106)
18 | (Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
19 | Command duration or timeout: 56 milliseconds
20 | For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
21 | Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
22 | System info: host: 'EC2AMAZ-NDM7R0M', ip: '172.20.128.1', os.name: 'Windows Server 2016', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_131'
23 | Driver info: org.openqa.selenium.chrome.ChromeDriver
24 | Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91), userDataDir=C:\Users\ADMINI~1\AppData\Local\Temp\2\scoped_dir6016_77}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=68.0.3440.106, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=false, acceptInsecureCerts=false, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}]
25 | Session ID: 915df9244eb126c89ffd8678e124c8dd
26 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
27 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
28 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
29 | at java.lang.reflect.Constructor.newInstance(Unknown Source)
30 | at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:215)
31 | at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:167)
32 | at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:671)
33 | at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:272)
34 | at org.openqa.selenium.remote.RemoteWebElement.isDisplayed(RemoteWebElement.java:313)
35 | at demo.FluentWaitDemo.test1(FluentWaitDemo.java:64)
36 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
37 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
38 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
39 | at java.lang.reflect.Method.invoke(Unknown Source)
40 | at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
41 | at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
42 | at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
43 | at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
44 | at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
45 | at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
46 | at org.testng.TestRunner.privateRun(TestRunner.java:648)
47 | at org.testng.TestRunner.run(TestRunner.java:505)
48 | at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
49 | at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
50 | at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
51 | at org.testng.SuiteRunner.run(SuiteRunner.java:364)
52 | at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
53 | at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
54 | at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
55 | at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
56 | at org.testng.TestNG.runSuites(TestNG.java:1049)
57 | at org.testng.TestNG.run(TestNG.java:1017)
58 | at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114)
59 | at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
60 | at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
61 | |
Class name | 4 |Method name | 5 |Groups | 6 |
---|---|---|
demo.FluentWaitDemo | 8 |||
@Test | 11 |||
14 | | test1 | 15 ||
@BeforeClass | 18 |||
@BeforeMethod | 21 |||
@AfterMethod | 24 |||
@AfterClass | 27 |
Time | Delta (ms) | Suite configuration | Test configuration | Class configuration | Groups configuration | Method configuration | Test method | Thread | Instances |
---|---|---|---|---|---|---|---|---|---|
18/08/18 14:39:06 | 0 | test1 | 5 |main@1883840933 |
Time | Delta (ms) | Suite configuration | Test configuration | Class configuration | Groups configuration | Method configuration | Test method | Thread | Instances |
---|---|---|---|---|---|---|---|---|---|
18/08/18 14:39:06 | 0 | test1 | 5 |main@1883840933 |
Results for
Default suite
1 test | 12 |1 class | 13 |1 method: 14 | chronological 15 | alphabetical 16 | not run (0) |
17 |
0 group | 20 |reporter output | 21 |testng.xml | 22 |
25 |
|
Class name | 4 |Method name | 5 |Groups | 6 |
---|---|---|
demo.TestNGRetryFailedDemo | 8 |||
@Test | 11 |||
14 | | test2 | 15 ||
18 | | test3 | 19 ||
22 | | test1 | 23 ||
@BeforeClass | 26 |||
@BeforeMethod | 29 |||
@AfterMethod | 32 |||
@AfterClass | 35 |
Time | Delta (ms) | Suite configuration | Test configuration | Class configuration | Groups configuration | Method configuration | Test method | Thread | Instances |
---|---|---|---|---|---|---|---|---|---|
18/08/15 13:35:44 | 0 | test2 | 5 |main@1896294051 | ||||||
18/08/15 13:35:44 | 11 | test3 | 7 |main@1896294051 |
demo.TestNGRetryFailedDemo.test1 |
Time | Delta (ms) | Suite configuration | Test configuration | Class configuration | Groups configuration | Method configuration | Test method | Thread | Instances |
---|---|---|---|---|---|---|---|---|---|
18/08/15 13:35:44 | 0 | test2 | 5 |main@1896294051 | ||||||
18/08/15 13:35:44 | 11 | test3 | 7 |main@1896294051 |
Results for
Failed suite [Default suite]
1 test | 12 |1 class | 13 |2 methods: 14 | chronological 15 | alphabetical 16 | not run (1) |
17 |
0 group | 20 |reporter output | 21 |testng.xml | 22 |
25 |
|
Class name | 4 |Method name | 5 |Groups | 6 |
---|
demo.TestNGParametersDemo.test1 |
demo.TestNGParametersDemo.test3 |
demo.TestNGParametersDemo.test4 |
demo.TestNGParametersDemo.test2 |
Results for
Failed suite [Suite1]
1 test | 12 |0 class | 13 |0 method: 14 | chronological 15 | alphabetical 16 | not run (4) |
17 |
0 group | 20 |reporter output | 21 |testng.xml | 22 |
25 |
|
Class name | 4 |Method name | 5 |Groups | 6 |
---|---|---|
demo.TestNGMultiBrowserTestingDemo | 8 |||
@Test | 11 |||
14 | | test1 | 15 ||
@BeforeClass | 18 |||
@BeforeMethod | 21 |||
@AfterMethod | 24 |||
@AfterClass | 27 |
Time | Delta (ms) | Suite configuration | Test configuration | Class configuration | Groups configuration | Method configuration | Test method | Thread | Instances |
---|---|---|---|---|---|---|---|---|---|
18/08/13 12:38:17 | 0 | >>setUp | 5 |TestNG-tests-2@1199098436 | ||||||
18/08/13 12:38:17 | 0 | >>setUp | 7 |TestNG-tests-3@403331477 | ||||||
18/08/13 12:38:17 | 0 | >>setUp | 9 |TestNG-tests-1@545162382 | ||||||
18/08/13 12:38:17 | 47 | <<tearDown | 11 |TestNG-tests-3@403331477 | ||||||
18/08/13 12:38:22 | 5013 | <<tearDown | 13 |TestNG-tests-1@545162382 | ||||||
18/08/13 12:38:22 | 5223 | <<tearDown | 15 |TestNG-tests-2@1199098436 | ||||||
18/08/13 12:38:17 | 26 | test1 | 17 |TestNG-tests-3@403331477 | ||||||
18/08/13 12:38:20 | 3351 | test1 | 19 |TestNG-tests-1@545162382 | ||||||
18/08/13 12:38:21 | 4159 | test1 | 21 |TestNG-tests-2@1199098436 |
Time | Delta (ms) | Suite configuration | Test configuration | Class configuration | Groups configuration | Method configuration | Test method | Thread | Instances |
---|---|---|---|---|---|---|---|---|---|
18/08/13 12:38:17 | 0 | >>setUp | 5 |TestNG-tests-2@1199098436 | ||||||
18/08/13 12:38:17 | 0 | >>setUp | 7 |TestNG-tests-3@403331477 | ||||||
18/08/13 12:38:17 | 0 | >>setUp | 9 |TestNG-tests-1@545162382 | ||||||
18/08/13 12:38:17 | 26 | test1 | 11 |TestNG-tests-3@403331477 | ||||||
18/08/13 12:38:17 | 47 | <<tearDown | 13 |TestNG-tests-3@403331477 | ||||||
18/08/13 12:38:20 | 3351 | test1 | 15 |TestNG-tests-1@545162382 | ||||||
18/08/13 12:38:21 | 4159 | test1 | 17 |TestNG-tests-2@1199098436 | ||||||
18/08/13 12:38:22 | 5013 | <<tearDown | 19 |TestNG-tests-1@545162382 | ||||||
18/08/13 12:38:22 | 5223 | <<tearDown | 21 |TestNG-tests-2@1199098436 |
Results for
Suite
3 tests | 12 |1 class | 13 |3 methods: 14 | chronological 15 | alphabetical 16 | not run (0) |
17 |
0 group | 20 |reporter output | 21 |testng.xml | 22 |
25 |
|
33 |
|
41 |
|
Class name | 4 |Method name | 5 |Groups | 6 |
---|---|---|
demo.TestNGParametersDemo | 8 |||
@Test | 11 |||
14 | | test | 15 ||
@BeforeClass | 18 |||
@BeforeMethod | 21 |||
@AfterMethod | 24 |||
@AfterClass | 27 |
Time | Delta (ms) | Suite configuration | Test configuration | Class configuration | Groups configuration | Method configuration | Test method | Thread | Instances |
---|---|---|---|---|---|---|---|---|---|
18/08/14 15:26:38 | 0 | test | 5 |main@1134612201 |
Time | Delta (ms) | Suite configuration | Test configuration | Class configuration | Groups configuration | Method configuration | Test method | Thread | Instances |
---|---|---|---|---|---|---|---|---|---|
18/08/14 15:26:38 | 0 | test | 5 |main@1134612201 |
Results for
Suite1
1 test | 12 |1 class | 13 |1 method: 14 | chronological 15 | alphabetical 16 | not run (0) |
17 |
0 group | 20 |reporter output | 21 |testng.xml | 22 |
25 |
|
Test results
6 |Suite | Passed | Failed | Skipped | testng.xml |
---|---|---|---|---|
Total | 0 | 1 | 0 | |
Default suite | 9 |0 | 1 | 0 | Link |