| Test method |
Exception |
Time (seconds) |
@@ -76,14 +76,174 @@ BankingApp Test
addNewCustomer Test class: com.inetbanking.testCases.TC_AddCustomerTest_003 |
- |
-22 |
-com.inetbanking.testCases.TC_AddCustomerTest_003@158d2680 |
+org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : User or Password is not valid}
+ (Session info: chrome=69.0.3497.100)
+ (Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 10.0.18362 x86_64) (WARNING: The server did not provide any stacktrace information)
+Command duration or timeout: 0 milliseconds: null
+Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
+System info: host: 'DESKTOP-J0M3L6F', ip: '192.168.31.154', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'
+Driver info: org.openqa.selenium.chrome.ChromeDriver
+Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.43.600210 (68dcf5eebde371..., userDataDir: C:\Users\Mukesh\AppData\Loc...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:51991}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.100, webStorageEnabled: true}
+Session ID: 66aff1e52d9d42607b24fda0a3308778
+*** Element info: {Using=xpath, value=/html/body/div[3]/div/ul/li[2]/a}
+ at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
+ at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:172)
+ at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
+ at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
+ at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
+ at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
+ at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:322)
+ at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:424)
+ at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
+ at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:314)
+ at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)
+ at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)
+ at com.sun.proxy.$Proxy9.click(Unknown Source)
+ at com.inetbanking.pageObjects.AddCustomerPage.clickAddNewCustomer(AddCustomerPage.java:68)
+ at com.inetbanking.testCases.TC_AddCustomerTest_003.addNewCustomer(TC_AddCustomerTest_003.java:28)
+... Removed 32 stack frames Click to show all stack frames
+org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : User or Password is not valid}
+ (Session info: chrome=69.0.3497.100)
+ (Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 10.0.18362 x86_64) (WARNING: The server did not provide any stacktrace information)
+Command duration or timeout: 0 milliseconds: null
+Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
+System info: host: 'DESKTOP-J0M3L6F', ip: '192.168.31.154', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'
+Driver info: org.openqa.selenium.chrome.ChromeDriver
+Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.43.600210 (68dcf5eebde371..., userDataDir: C:\Users\Mukesh\AppData\Loc...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:51991}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.100, webStorageEnabled: true}
+Session ID: 66aff1e52d9d42607b24fda0a3308778
+*** Element info: {Using=xpath, value=/html/body/div[3]/div/ul/li[2]/a}
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
+ at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
+ at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:172)
+ at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
+ at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
+ at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
+ at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
+ at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:322)
+ at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:424)
+ at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
+ at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:314)
+ at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)
+ at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)
+ at com.sun.proxy.$Proxy9.click(Unknown Source)
+ at com.inetbanking.pageObjects.AddCustomerPage.clickAddNewCustomer(AddCustomerPage.java:68)
+ at com.inetbanking.testCases.TC_AddCustomerTest_003.addNewCustomer(TC_AddCustomerTest_003.java:28)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
+ at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)
+ at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
+ at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
+ at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
+ at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
+ at org.testng.TestRunner.privateRun(TestRunner.java:648)
+ at org.testng.TestRunner.run(TestRunner.java:505)
+ at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
+ at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
+ at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
+ at org.testng.SuiteRunner.run(SuiteRunner.java:364)
+ at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
+ at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
+ at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
+ at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
+ at org.testng.TestNG.runSuites(TestNG.java:1049)
+ at org.testng.TestNG.run(TestNG.java:1017)
+ at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:295)
+ at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:84)
+ at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:90)
+ at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
+ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
+ at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
+ |
+9 |
+com.inetbanking.testCases.TC_AddCustomerTest_003@506e6d5e |
loginTest Test class: com.inetbanking.testCases.TC_LoginTest_001 |
- |
-2 |
-com.inetbanking.testCases.TC_LoginTest_001@131774fe |
+org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : User or Password is not valid}
+ (Session info: chrome=69.0.3497.100)
+ (Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 10.0.18362 x86_64) (WARNING: The server did not provide any stacktrace information)
+Command duration or timeout: 0 milliseconds: null
+Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
+System info: host: 'DESKTOP-J0M3L6F', ip: '192.168.31.154', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'
+Driver info: org.openqa.selenium.chrome.ChromeDriver
+Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.43.600210 (68dcf5eebde371..., userDataDir: C:\Users\Mukesh\AppData\Loc...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:51890}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.100, webStorageEnabled: true}
+Session ID: c8d570d0a8c68644cbf7712f3024e1d2
+ at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
+ at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:172)
+ at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
+ at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
+ at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
+ at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
+ at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:605)
+ at org.openqa.selenium.remote.RemoteWebDriver.getTitle(RemoteWebDriver.java:280)
+ at com.inetbanking.testCases.TC_LoginTest_001.loginTest(TC_LoginTest_001.java:31)
+... Removed 32 stack frames Click to show all stack frames
+org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : User or Password is not valid}
+ (Session info: chrome=69.0.3497.100)
+ (Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 10.0.18362 x86_64) (WARNING: The server did not provide any stacktrace information)
+Command duration or timeout: 0 milliseconds: null
+Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
+System info: host: 'DESKTOP-J0M3L6F', ip: '192.168.31.154', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'
+Driver info: org.openqa.selenium.chrome.ChromeDriver
+Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.43.600210 (68dcf5eebde371..., userDataDir: C:\Users\Mukesh\AppData\Loc...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:51890}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.100, webStorageEnabled: true}
+Session ID: c8d570d0a8c68644cbf7712f3024e1d2
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
+ at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
+ at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:172)
+ at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
+ at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
+ at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
+ at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
+ at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:605)
+ at org.openqa.selenium.remote.RemoteWebDriver.getTitle(RemoteWebDriver.java:280)
+ at com.inetbanking.testCases.TC_LoginTest_001.loginTest(TC_LoginTest_001.java:31)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
+ at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)
+ at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
+ at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
+ at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
+ at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
+ at org.testng.TestRunner.privateRun(TestRunner.java:648)
+ at org.testng.TestRunner.run(TestRunner.java:505)
+ at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
+ at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
+ at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
+ at org.testng.SuiteRunner.run(SuiteRunner.java:364)
+ at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
+ at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
+ at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
+ at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
+ at org.testng.TestNG.runSuites(TestNG.java:1049)
+ at org.testng.TestNG.run(TestNG.java:1017)
+ at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:295)
+ at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:84)
+ at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:90)
+ at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
+ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
+ at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
+ |
+6 |
+com.inetbanking.testCases.TC_LoginTest_001@2acf57e3 |
\ No newline at end of file
diff --git a/target/surefire-reports/InetBankingV1/BankingApp Test.xml b/target/surefire-reports/InetBankingV1/BankingApp Test.xml
index 294e43b..da42bcd 100644
--- a/target/surefire-reports/InetBankingV1/BankingApp Test.xml
+++ b/target/surefire-reports/InetBankingV1/BankingApp Test.xml
@@ -1,6 +1,78 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/target/surefire-reports/InetBankingV1/testng-failed.xml b/target/surefire-reports/InetBankingV1/testng-failed.xml
new file mode 100644
index 0000000..fbdfa10
--- /dev/null
+++ b/target/surefire-reports/InetBankingV1/testng-failed.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/target/surefire-reports/TEST-TestSuite.xml b/target/surefire-reports/TEST-TestSuite.xml
deleted file mode 100644
index 95f452d..0000000
--- a/target/surefire-reports/TEST-TestSuite.xml
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/target/surefire-reports/TestSuite.txt b/target/surefire-reports/TestSuite.txt
deleted file mode 100644
index 08786d7..0000000
--- a/target/surefire-reports/TestSuite.txt
+++ /dev/null
@@ -1,4 +0,0 @@
--------------------------------------------------------------------------------
-Test set: TestSuite
--------------------------------------------------------------------------------
-Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.739 sec - in TestSuite
diff --git a/target/surefire-reports/emailable-report.html b/target/surefire-reports/emailable-report.html
index f2745a0..c414156 100644
--- a/target/surefire-reports/emailable-report.html
+++ b/target/surefire-reports/emailable-report.html
@@ -9,11 +9,58 @@
-| Class | Method | Start | Time (ms) |
|---|
| InetBankingV1 |
|---|
| BankingApp Test — passed |
|---|
| com.inetbanking.testCases.TC_AddCustomerTest_003 | addNewCustomer | 1543285536595 | 22157 |
| com.inetbanking.testCases.TC_LoginTest_001 | loginTest | 1543285525352 | 2639 |
+| Class | Method | Start | Time (ms) |
|---|
| InetBankingV1 |
|---|
| BankingApp Test — failed |
|---|
| com.inetbanking.testCases.TC_AddCustomerTest_003 | addNewCustomer | 1584471928263 | 9176 |
| com.inetbanking.testCases.TC_LoginTest_001 | loginTest | 1584471901455 | 6713 |
-BankingApp Test
com.inetbanking.testCases.TC_AddCustomerTest_003#addNewCustomer
back to summary
-com.inetbanking.testCases.TC_LoginTest_001#loginTest
back to summary
+BankingApp Test
com.inetbanking.testCases.TC_AddCustomerTest_003#addNewCustomer
| Exception |
|---|
org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : User or Password is not valid}
+ (Session info: chrome=69.0.3497.100)
+ (Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 10.0.18362 x86_64) (WARNING: The server did not provide any stacktrace information)
+Command duration or timeout: 0 milliseconds: null
+Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
+System info: host: 'DESKTOP-J0M3L6F', ip: '192.168.31.154', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'
+Driver info: org.openqa.selenium.chrome.ChromeDriver
+Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.43.600210 (68dcf5eebde371..., userDataDir: C:\Users\Mukesh\AppData\Loc...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:51991}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.100, webStorageEnabled: true}
+Session ID: 66aff1e52d9d42607b24fda0a3308778
+*** Element info: {Using=xpath, value=/html/body/div[3]/div/ul/li[2]/a}
+ at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
+ at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:172)
+ at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
+ at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
+ at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
+ at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
+ at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:322)
+ at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:424)
+ at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
+ at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:314)
+ at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)
+ at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)
+ at com.sun.proxy.$Proxy9.click(Unknown Source)
+ at com.inetbanking.pageObjects.AddCustomerPage.clickAddNewCustomer(AddCustomerPage.java:68)
+ at com.inetbanking.testCases.TC_AddCustomerTest_003.addNewCustomer(TC_AddCustomerTest_003.java:28)
+... Removed 32 stack frames |
back to summary
+com.inetbanking.testCases.TC_LoginTest_001#loginTest
| Exception |
|---|
org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : User or Password is not valid}
+ (Session info: chrome=69.0.3497.100)
+ (Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 10.0.18362 x86_64) (WARNING: The server did not provide any stacktrace information)
+Command duration or timeout: 0 milliseconds: null
+Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
+System info: host: 'DESKTOP-J0M3L6F', ip: '192.168.31.154', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'
+Driver info: org.openqa.selenium.chrome.ChromeDriver
+Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.43.600210 (68dcf5eebde371..., userDataDir: C:\Users\Mukesh\AppData\Loc...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:51890}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.100, webStorageEnabled: true}
+Session ID: c8d570d0a8c68644cbf7712f3024e1d2
+ at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
+ at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:172)
+ at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
+ at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
+ at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
+ at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
+ at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:605)
+ at org.openqa.selenium.remote.RemoteWebDriver.getTitle(RemoteWebDriver.java:280)
+ at com.inetbanking.testCases.TC_LoginTest_001.loginTest(TC_LoginTest_001.java:31)
+... Removed 32 stack frames |
back to summary
diff --git a/target/surefire-reports/index.html b/target/surefire-reports/index.html
index 4d8b694..5524946 100644
--- a/target/surefire-reports/index.html
+++ b/target/surefire-reports/index.html
@@ -24,21 +24,21 @@
Test results
- 1 suite
+ 1 suite, 2 failed tests
@@ -48,37 +48,37 @@
-
-
- C:\Users\admin\myworkspace\inetBankingV1\TestNG.xml
+
+ C:\Users\Mukesh\Desktop\SwaggerUI\inetbankingV1\Testng.xml
-
-
+
1 test
-
-
+
0 groups
-
-
+
Times
-
-
+
Reporter output
-
-
+
Ignored methods
-
-
+
Chronological view
@@ -91,26 +91,26 @@
-
- 2 methods, 2 passed
+ 2 methods, 2 failed,
-
- Passed methods
-
- (hide)
- (show)
+ Failed methods
+
+ (hide)
+ (show)
-
@@ -122,50 +122,101 @@
-
+
-

-
com.inetbanking.testCases.TC_LoginTest_001
+

+
com.inetbanking.testCases.TC_AddCustomerTest_003
-
-
-
loginTest
+
+
+
addNewCustomer
+
org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : User or Password is not valid}
+ (Session info: chrome=69.0.3497.100)
+ (Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 10.0.18362 x86_64) (WARNING: The server did not provide any stacktrace information)
+Command duration or timeout: 0 milliseconds: null
+Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
+System info: host: 'DESKTOP-J0M3L6F', ip: '192.168.31.154', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'
+Driver info: org.openqa.selenium.chrome.ChromeDriver
+Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.43.600210 (68dcf5eebde371..., userDataDir: C:\Users\Mukesh\AppData\Loc...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:51991}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.100, webStorageEnabled: true}
+Session ID: 66aff1e52d9d42607b24fda0a3308778
+*** Element info: {Using=xpath, value=/html/body/div[3]/div/ul/li[2]/a}
+ at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
+ at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:172)
+ at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
+ at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
+ at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
+ at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
+ at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:322)
+ at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:424)
+ at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
+ at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:314)
+ at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)
+ at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)
+ at com.sun.proxy.$Proxy9.click(Unknown Source)
+ at com.inetbanking.pageObjects.AddCustomerPage.clickAddNewCustomer(AddCustomerPage.java:68)
+ at com.inetbanking.testCases.TC_AddCustomerTest_003.addNewCustomer(TC_AddCustomerTest_003.java:28)
+... Removed 32 stack frames
+
-
-
+
+
-

-
com.inetbanking.testCases.TC_AddCustomerTest_003
+

+
com.inetbanking.testCases.TC_LoginTest_001
-
-
-
addNewCustomer
+
+
+
loginTest
+
org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : User or Password is not valid}
+ (Session info: chrome=69.0.3497.100)
+ (Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 10.0.18362 x86_64) (WARNING: The server did not provide any stacktrace information)
+Command duration or timeout: 0 milliseconds: null
+Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
+System info: host: 'DESKTOP-J0M3L6F', ip: '192.168.31.154', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'
+Driver info: org.openqa.selenium.chrome.ChromeDriver
+Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.43.600210 (68dcf5eebde371..., userDataDir: C:\Users\Mukesh\AppData\Loc...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:51890}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.100, webStorageEnabled: true}
+Session ID: c8d570d0a8c68644cbf7712f3024e1d2
+ at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
+ at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:172)
+ at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
+ at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
+ at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
+ at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
+ at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
+ at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:605)
+ at org.openqa.selenium.remote.RemoteWebDriver.getTitle(RemoteWebDriver.java:280)
+ at com.inetbanking.testCases.TC_LoginTest_001.loginTest(TC_LoginTest_001.java:31)
+... Removed 32 stack frames
+
-
+
-
+
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
-<suite name="InetBankingV1" guice-stage="DEVELOPMENT" verbose="0">
+<suite guice-stage="DEVELOPMENT" verbose="0" name="InetBankingV1">
<listeners>
<listener class-name="com.inetbanking.utilities.Reporting"/>
</listeners>
- <test thread-count="5" name="BankingApp Test" verbose="0">
+ <test thread-count="5" verbose="0" name="BankingApp Test">
<parameter name="browser" value="chrome"/>
<classes>
<class name="com.inetbanking.testCases.TC_LoginTest_001"/>
@@ -213,16 +264,16 @@
data.setCell(0, 0, 0)
data.setCell(0, 1, 'addNewCustomer')
data.setCell(0, 2, 'com.inetbanking.testCases.TC_AddCustomerTest_003')
-data.setCell(0, 3, 22157);
+data.setCell(0, 3, 9176);
data.setCell(1, 0, 1)
data.setCell(1, 1, 'loginTest')
data.setCell(1, 2, 'com.inetbanking.testCases.TC_LoginTest_001')
-data.setCell(1, 3, 2639);
+data.setCell(1, 3, 6713);
window.suiteTableData['InetBankingV1']= { tableData: data, tableDiv: 'times-div-InetBankingV1'}
return data;
}
- Total running time: 24 seconds
+ Total running time: 15 seconds
@@ -254,27 +305,31 @@
0 ms
+

+
loginTest
-
9914 ms
+
54033 ms
tearDown
- 12608 ms
+ 60982 ms
com.inetbanking.testCases.TC_AddCustomerTest_003
setup(chrome)
- 13263 ms
+ 61798 ms
+

+
addNewCustomer
-
21157 ms
+
80841 ms
tearDown
- 43315 ms
+ 90043 ms
diff --git a/target/surefire-reports/junitreports/TEST-com.inetbanking.testCases.TC_AddCustomerTest_003.xml b/target/surefire-reports/junitreports/TEST-com.inetbanking.testCases.TC_AddCustomerTest_003.xml
index aaa3e51..2ad29f9 100644
--- a/target/surefire-reports/junitreports/TEST-com.inetbanking.testCases.TC_AddCustomerTest_003.xml
+++ b/target/surefire-reports/junitreports/TEST-com.inetbanking.testCases.TC_AddCustomerTest_003.xml
@@ -1,5 +1,77 @@
-
-
+
+
+
+
+
+
diff --git a/target/surefire-reports/junitreports/TEST-com.inetbanking.testCases.TC_LoginTest_001.xml b/target/surefire-reports/junitreports/TEST-com.inetbanking.testCases.TC_LoginTest_001.xml
index a2fe463..c9550e6 100644
--- a/target/surefire-reports/junitreports/TEST-com.inetbanking.testCases.TC_LoginTest_001.xml
+++ b/target/surefire-reports/junitreports/TEST-com.inetbanking.testCases.TC_LoginTest_001.xml
@@ -1,5 +1,69 @@
-
-
+
+
+
+
+
+
diff --git a/target/surefire-reports/old/InetBankingV1/methods-alphabetical.html b/target/surefire-reports/old/InetBankingV1/methods-alphabetical.html
index b489cd4..97a1308 100644
--- a/target/surefire-reports/old/InetBankingV1/methods-alphabetical.html
+++ b/target/surefire-reports/old/InetBankingV1/methods-alphabetical.html
@@ -1,16 +1,16 @@
Methods run, sorted chronologically
>> means before, << means after
InetBankingV1(Hover the method name to see the test class name)
| Time | Delta (ms) | Suite configuration | Test configuration | Class configuration | Groups configuration | Method configuration | Test method | Thread | Instances |
- | 18/11/27 07:55:36 | 0 | | | | | | addNewCustomer |
- main@613298587 | |
- | 18/11/27 07:55:25 | -11243 | | | | | | loginTest |
- main@613298587 | |
- | 18/11/27 07:55:15 | -21125 | | | >>setup |
- | | | main@613298587 | |
- | 18/11/27 07:55:28 | -7893 | | | >>setup |
- | | | main@613298587 | |
- | 18/11/27 07:55:28 | -8549 | | | <<tearDown |
- | | | main@613298587 | |
- | 18/11/27 07:55:58 | 22158 | | | <<tearDown |
- | | | main@613298587 | |
+ | 20/03/18 00:35:28 | 0 | | | | | | addNewCustomer |
+ main@161960012 | |
+ | 20/03/18 00:35:01 | -26807 | | | | | | loginTest |
+ main@161960012 | |
+ | 20/03/18 00:34:07 | -80826 | | | >>setup |
+ | | | main@161960012 | |
+ | 20/03/18 00:35:09 | -19042 | | | >>setup |
+ | | | main@161960012 | |
+ | 20/03/18 00:35:08 | -19857 | | | <<tearDown |
+ | | | main@161960012 | |
+ | 20/03/18 00:35:37 | 9203 | | | <<tearDown |
+ | | | main@161960012 | |
diff --git a/target/surefire-reports/old/InetBankingV1/methods.html b/target/surefire-reports/old/InetBankingV1/methods.html
index 84ad8bf..dcb8960 100644
--- a/target/surefire-reports/old/InetBankingV1/methods.html
+++ b/target/surefire-reports/old/InetBankingV1/methods.html
@@ -1,16 +1,16 @@
Methods run, sorted chronologically
>> means before, << means after
InetBankingV1(Hover the method name to see the test class name)
| Time | Delta (ms) | Suite configuration | Test configuration | Class configuration | Groups configuration | Method configuration | Test method | Thread | Instances |
- | 18/11/27 07:55:15 | 0 | | | >>setup |
- | | | main@613298587 | |
- | 18/11/27 07:55:25 | 9882 | | | | | | loginTest |
- main@613298587 | |
- | 18/11/27 07:55:28 | 12576 | | | <<tearDown |
- | | | main@613298587 | |
- | 18/11/27 07:55:28 | 13232 | | | >>setup |
- | | | main@613298587 | |
- | 18/11/27 07:55:36 | 21125 | | | | | | addNewCustomer |
- main@613298587 | |
- | 18/11/27 07:55:58 | 43283 | | | <<tearDown |
- | | | main@613298587 | |
+ | 20/03/18 00:34:07 | 0 | | | >>setup |
+ | | | main@161960012 | |
+ | 20/03/18 00:35:01 | 54019 | | | | | | loginTest |
+ main@161960012 | |
+ | 20/03/18 00:35:08 | 60969 | | | <<tearDown |
+ | | | main@161960012 | |
+ | 20/03/18 00:35:09 | 61784 | | | >>setup |
+ | | | main@161960012 | |
+ | 20/03/18 00:35:28 | 80826 | | | | | | addNewCustomer |
+ main@161960012 | |
+ | 20/03/18 00:35:37 | 90029 | | | <<tearDown |
+ | | | main@161960012 | |
diff --git a/target/surefire-reports/old/InetBankingV1/testng.xml.html b/target/surefire-reports/old/InetBankingV1/testng.xml.html
index fdb1748..844a46b 100644
--- a/target/surefire-reports/old/InetBankingV1/testng.xml.html
+++ b/target/surefire-reports/old/InetBankingV1/testng.xml.html
@@ -1 +1 @@
-testng.xml for InetBankingV1<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="InetBankingV1" guice-stage="DEVELOPMENT" verbose="0">
<listeners>
<listener class-name="com.inetbanking.utilities.Reporting"/>
</listeners>
<test thread-count="5" name="BankingApp Test" verbose="0">
<parameter name="browser" value="chrome"/>
<classes>
<class name="com.inetbanking.testCases.TC_LoginTest_001"/>
<class name="com.inetbanking.testCases.TC_AddCustomerTest_003"/>
</classes>
</test> <!-- BankingApp Test -->
</suite> <!-- InetBankingV1 -->
\ No newline at end of file
+testng.xml for InetBankingV1<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite guice-stage="DEVELOPMENT" verbose="0" name="InetBankingV1">
<listeners>
<listener class-name="com.inetbanking.utilities.Reporting"/>
</listeners>
<test thread-count="5" verbose="0" name="BankingApp Test">
<parameter name="browser" value="chrome"/>
<classes>
<class name="com.inetbanking.testCases.TC_LoginTest_001"/>
<class name="com.inetbanking.testCases.TC_AddCustomerTest_003"/>
</classes>
</test> <!-- BankingApp Test -->
</suite> <!-- InetBankingV1 -->
\ No newline at end of file
diff --git a/target/surefire-reports/old/InetBankingV1/toc.html b/target/surefire-reports/old/InetBankingV1/toc.html
index 9d5bc9d..4a4af88 100644
--- a/target/surefire-reports/old/InetBankingV1/toc.html
+++ b/target/surefire-reports/old/InetBankingV1/toc.html
@@ -20,9 +20,9 @@ Results for
InetBankingV1
reporter output |
testng.xml |
-
+
-| BankingApp Test (2/0/0) |
+
|
diff --git a/target/surefire-reports/old/index.html b/target/surefire-reports/old/index.html
index da327ab..7d83621 100644
--- a/target/surefire-reports/old/index.html
+++ b/target/surefire-reports/old/index.html
@@ -4,6 +4,6 @@
Test results
| Suite | Passed | Failed | Skipped | testng.xml |
-| Total | 2 | 0 | 0 | |
-| InetBankingV1 |
-2 | 0 | 0 | Link |
|