com.imm.ereceipt.testscripts.Login.Login
C:\Users\dhima\git\eReceipts\IMM_EReceiptsWeb_Automation\testxml\Regression\XP\QAXPAuto\EReceiptChrome_demo.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite thread-count="1" name="IMM_QA_Automation" guice-stage="DEVELOPMENT" verbose="3">
<parameter name="webSite" value="https://er-tellerportal-demo.azurewebsites.net"/>
<parameter name="portalType" value="Cloud"/>
<parameter name="FIName" value="QAXPAuto"/>
<parameter name="projectKey" value="ER"/>
<parameter name="deviceHost" value="localhost"/>
<parameter name="devicePort" value="4444"/>
<parameter name="browserName" value="chrome_windows"/>
<parameter name="Host" value="XP"/>
<parameter name="adminUrl" value="https://er-fiadminportal-demo.azurewebsites.net"/>
<parameter name="TestType" value="Regression"/>
<listeners>
<listener class-name="com.imm.ereceipt.support.MethodInterceptor"/>
</listeners>
<test thread-count="1" name="IMM_Test_Chrome" verbose="3">
<classes>
<class name="com.imm.ereceipt.testscripts.Login.Login">
<methods>
<include name="verifyTellerAndAdminLogin"/>
</methods>
</class> <!-- com.imm.ereceipt.testscripts.Login.Login -->
</classes>
</test> <!-- IMM_Test_Chrome -->
</suite> <!-- IMM_QA_Automation -->
Tests for IMM_QA_Automation
- IMM_Test_Chrome (1 class)
Groups for IMM_QA_Automation
LoginAdmin
verifyTellerAndAdminLogin
P1
verifyTellerAndAdminLogin
Smoke
verifyTellerAndAdminLogin
Times for IMM_QA_Automation
Total running time: 2 minutes
Reporter output for IMM_QA_Automation
verifyTellerAndAdminLogin({=, TestID=verifyTellerAndAdminLogin, UserPwd=iMM2022!, Type=Teller, Description=1verify Teller logi...)
Successfully navigated to the 'Dashboard' page [ScreenShot]
Successfully verified the 'Administrator' button not present on header of the page [ScreenShot]
Test Passed.
--- 12 Aug 22:57:20 764 - TestCaseID:: verifyTellerAndAdminLogin
--- 12 Aug 22:57:23 717 - 2 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
1verify Teller login details
Steps:
--- 12 Aug 22:57:36 303 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b1f00368-6c8e-4851-b2e7-1ec984ebf081&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=https%3a%2f%2fer-tellerportal-demo.azurewebsites.net&client-request-id=01989f52-ab9b-7899-9c23-e8db7cc52616&response_mode=fragment&client_info=1&nonce=01989f52-ab9c-76f6-a9ff-74198d727f59&state=eyjpzci6ijaxotg5zjuylwfiowmtnzc1zc05ngexlwm3mdgxmzjkmjbhzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=rpodb1edtwrzyysbsti7lao-ai0sjx1clrwww2-yhpu&code_challenge_method=s256&sso_reload=true
--- 12 Aug 22:57:36 303 - 7 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:57:37 402 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (50e265597c010e3deab2f11adf6f2510)] -> xpath: //input[@id='i0116']]
--- 12 Aug 22:57:38 479 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (50e265597c010e3deab2f11adf6f2510)] -> xpath: //input[@id='i0116']]
--- 12 Aug 22:57:39 301 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (50e265597c010e3deab2f11adf6f2510)] -> id: idSIButton9]
--- 12 Aug 22:57:40 246 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (50e265597c010e3deab2f11adf6f2510)] -> xpath: //input[@id='i0116']]
--- 12 Aug 22:57:41 141 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (50e265597c010e3deab2f11adf6f2510)] -> xpath: //input[@id='i0116']]
--- 12 Aug 22:57:45 700 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b1f00368-6c8e-4851-b2e7-1ec984ebf081&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=https%3a%2f%2fer-tellerportal-demo.azurewebsites.net&client-request-id=01989f52-ab9b-7899-9c23-e8db7cc52616&response_mode=fragment&client_info=1&nonce=01989f52-ab9c-76f6-a9ff-74198d727f59&state=eyjpzci6ijaxotg5zjuylwfiowmtnzc1zc05ngexlwm3mdgxmzjkmjbhzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=rpodb1edtwrzyysbsti7lao-ai0sjx1clrwww2-yhpu&code_challenge_method=s256&sso_reload=true
--- 12 Aug 22:57:45 700 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:57:49 792 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b1f00368-6c8e-4851-b2e7-1ec984ebf081&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=https%3a%2f%2fer-tellerportal-demo.azurewebsites.net&client-request-id=01989f52-ab9b-7899-9c23-e8db7cc52616&response_mode=fragment&client_info=1&nonce=01989f52-ab9c-76f6-a9ff-74198d727f59&state=eyjpzci6ijaxotg5zjuylwfiowmtnzc1zc05ngexlwm3mdgxmzjkmjbhzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=rpodb1edtwrzyysbsti7lao-ai0sjx1clrwww2-yhpu&code_challenge_method=s256&sso_reload=true
--- 12 Aug 22:57:49 792 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:57:51 456 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (50e265597c010e3deab2f11adf6f2510)] -> xpath: //input[@id='i0118']]
--- 12 Aug 22:57:52 507 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (50e265597c010e3deab2f11adf6f2510)] -> xpath: //input[@id='i0118']]
--- 12 Aug 22:57:56 948 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b1f00368-6c8e-4851-b2e7-1ec984ebf081&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=https%3a%2f%2fer-tellerportal-demo.azurewebsites.net&client-request-id=01989f52-ab9b-7899-9c23-e8db7cc52616&response_mode=fragment&client_info=1&nonce=01989f52-ab9c-76f6-a9ff-74198d727f59&state=eyjpzci6ijaxotg5zjuylwfiowmtnzc1zc05ngexlwm3mdgxmzjkmjbhzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=rpodb1edtwrzyysbsti7lao-ai0sjx1clrwww2-yhpu&code_challenge_method=s256&sso_reload=true
--- 12 Aug 22:57:56 949 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:58:01 930 - Page URL:: https://login.microsoftonline.com/common/login
--- 12 Aug 22:58:01 930 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:58:15 204 - Page URL:: https://er-tellerportal-demo.azurewebsites.net/#code=1.aweb73_yusvmr0c_nh8d-vcnuwgd8lgobffisuceyytr8ihmaqbhaq.agabbaiaaabvrspeuwamram2jaf1xrqeawds_wua9p8cmpde5w-zjwwrysvk-jrvgylbvndfkxoz8go3hsb4rba2gkjoglseogfgtvk3njvdwdf7bvppbm3vkzvga_iplhgnic0gbn7enfwivq22hqspdsmfelpmzggbkilgrdsanzll5a31s5z-jlda_oc_x4s73vhoofo3o9vdkm4qr5zwkzihsspicyn2eu61ftfx7zbe7bqeeme2_hvcbdts92d-o6v7hyt_rwik8g_ircbcyoxdvqofd2dy7ruaomvrxhypel8xw4nssadpbz96x8ul6n0zgqe7qaafphpbxou9ofk6ifqyb80diut_vs1juitx78wxz4qbprxgycaorsscosvwsd8brahqwovgwqonyedrcznqkiudwn7klt66e7my3iytmswpp2xrh8mbnw4gfvrwywwl3bksqk3jogj4n06h0uiulnyfghjctchfylcaob_rhluena48vvwgfgqxw3lqcnnxjsbajb0ywgnfmzjtvjr6ppvnnsnlxxuq165mzzgsd-unk7u3omdf6-ehl9l8jk2t8mpoznft4r85eumqcbf3n7f_a0neh3v9cidzfjqorf80mabryxmwdt2w4cj0civswtnkgycvzo74magqhpai69k0ep7jv3r_kaa22vemk7c_wnl9yt1gjvzokq7ivcourdrcn3re86iwj5shtnmv0hchifnhxyiyviuwvu3mhordkq7yx67zsmuqehsjiyigrqppsv0sstbhzgyptjfctk4b6aes5mn0mnyigr8c2owupnc87dnim2u6nfg3u4e9pvmodv_zek86vxyl_1964ismu0ybyiq6vxgoophsmezy2enok2d0686huueyihkveen66vplnynjid4skzv_26m889snmda32ddqe76fzfms5ky_zxpz4v9dcdwcijd8qb4_lslaj5wrpu1w&client_info=eyj1awqioiiwmzmwymjhni00n2jiltq1mgutyjg0mi1hnjgwngq1nzy0otkilcj1dglkijoiymfmmjdmzwytnjzjns00mdq3lwjmowutmwywm2y5ntcynzuxin0&state=eyjpzci6ijaxotg5zjuylwfiowmtnzc1zc05ngexlwm3mdgxmzjkmjbhzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&session_state=007beea9-5625-9996-d34f-c4456d87a228
--- 12 Aug 22:58:15 209 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:58:18 602 - Page URL:: https://er-tellerportal-demo.azurewebsites.net/dashboard
--- 12 Aug 22:58:18 602 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:58:19 670 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (50e265597c010e3deab2f11adf6f2510)] -> id: immOnFilter]
--- 12 Aug 22:58:23 099 - Page URL:: https://er-tellerportal-demo.azurewebsites.net/dashboard
--- 12 Aug 22:58:23 099 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:58:23 899 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (50e265597c010e3deab2f11adf6f2510)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Dashboard' page [ScreenShot]
Successfully verified the 'Administrator' button not present on header of the page [ScreenShot]
Test Passed.
verifyTellerAndAdminLogin({=, TestID=verifyTellerAndAdminLogin, UserPwd=iMM2022!, Type=SuperTeller, Description=1verify Super ...)
Successfully navigated to the 'Dashboard' page [ScreenShot]
Successfully verified the 'Administrator' button not present on header of the page [ScreenShot]
Test Passed.
--- 12 Aug 22:56:06 778 - TestCaseID:: verifyTellerAndAdminLogin
--- 12 Aug 22:56:10 361 - 3 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
1verify Super teller login details
Steps:
--- 12 Aug 22:56:22 213 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b1f00368-6c8e-4851-b2e7-1ec984ebf081&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=https%3a%2f%2fer-tellerportal-demo.azurewebsites.net&client-request-id=01989f51-8a0e-7f63-80ec-03269f31f6bf&response_mode=fragment&client_info=1&nonce=01989f51-8a0f-7de2-ba54-888fd8ad3b6f&state=eyjpzci6ijaxotg5zjuxlthhmgytnzu1mc04mdawlwq5mjywnwjjngyxyyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=iwejd2odaru4aogava_khwoiqqscjxhyx8jxnivyn8c&code_challenge_method=s256&sso_reload=true
--- 12 Aug 22:56:22 213 - 6 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:56:23 236 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (3856e11188ba92c3732718000f961021)] -> xpath: //input[@id='i0116']]
--- 12 Aug 22:56:24 497 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (3856e11188ba92c3732718000f961021)] -> xpath: //input[@id='i0116']]
--- 12 Aug 22:56:25 468 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (3856e11188ba92c3732718000f961021)] -> id: idSIButton9]
--- 12 Aug 22:56:26 440 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (3856e11188ba92c3732718000f961021)] -> xpath: //input[@id='i0116']]
--- 12 Aug 22:56:27 388 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (3856e11188ba92c3732718000f961021)] -> xpath: //input[@id='i0116']]
--- 12 Aug 22:56:31 935 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b1f00368-6c8e-4851-b2e7-1ec984ebf081&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=https%3a%2f%2fer-tellerportal-demo.azurewebsites.net&client-request-id=01989f51-8a0e-7f63-80ec-03269f31f6bf&response_mode=fragment&client_info=1&nonce=01989f51-8a0f-7de2-ba54-888fd8ad3b6f&state=eyjpzci6ijaxotg5zjuxlthhmgytnzu1mc04mdawlwq5mjywnwjjngyxyyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=iwejd2odaru4aogava_khwoiqqscjxhyx8jxnivyn8c&code_challenge_method=s256&sso_reload=true
--- 12 Aug 22:56:31 935 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:56:35 821 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b1f00368-6c8e-4851-b2e7-1ec984ebf081&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=https%3a%2f%2fer-tellerportal-demo.azurewebsites.net&client-request-id=01989f51-8a0e-7f63-80ec-03269f31f6bf&response_mode=fragment&client_info=1&nonce=01989f51-8a0f-7de2-ba54-888fd8ad3b6f&state=eyjpzci6ijaxotg5zjuxlthhmgytnzu1mc04mdawlwq5mjywnwjjngyxyyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=iwejd2odaru4aogava_khwoiqqscjxhyx8jxnivyn8c&code_challenge_method=s256&sso_reload=true
--- 12 Aug 22:56:35 821 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:56:37 383 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (3856e11188ba92c3732718000f961021)] -> xpath: //input[@id='i0118']]
--- 12 Aug 22:56:38 306 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (3856e11188ba92c3732718000f961021)] -> xpath: //input[@id='i0118']]
--- 12 Aug 22:56:42 771 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b1f00368-6c8e-4851-b2e7-1ec984ebf081&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=https%3a%2f%2fer-tellerportal-demo.azurewebsites.net&client-request-id=01989f51-8a0e-7f63-80ec-03269f31f6bf&response_mode=fragment&client_info=1&nonce=01989f51-8a0f-7de2-ba54-888fd8ad3b6f&state=eyjpzci6ijaxotg5zjuxlthhmgytnzu1mc04mdawlwq5mjywnwjjngyxyyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=iwejd2odaru4aogava_khwoiqqscjxhyx8jxnivyn8c&code_challenge_method=s256&sso_reload=true
--- 12 Aug 22:56:42 771 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:56:47 686 - Page URL:: https://login.microsoftonline.com/common/login
--- 12 Aug 22:56:47 686 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:56:59 259 - Page URL:: https://er-tellerportal-demo.azurewebsites.net/
--- 12 Aug 22:56:59 259 - 7 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:57:02 792 - Page URL:: https://er-tellerportal-demo.azurewebsites.net/dashboard
--- 12 Aug 22:57:02 792 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:57:03 736 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (3856e11188ba92c3732718000f961021)] -> id: immOnFilter]
--- 12 Aug 22:57:07 223 - Page URL:: https://er-tellerportal-demo.azurewebsites.net/dashboard
--- 12 Aug 22:57:07 224 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 12 Aug 22:57:08 289 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (3856e11188ba92c3732718000f961021)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Dashboard' page [ScreenShot]
Successfully verified the 'Administrator' button not present on header of the page [ScreenShot]
Test Passed.
10 ignored methods
com.imm.ereceipt.testscripts.Login.Login
verifyHeaderItemsTellerPortal
verifyHelpMenuTellerPortal
verifyLoginWithWrongCredentailsAdminPortal
verifyLoginWithWrongCredentails
verifyUIElementsInAdminControlPanel
verifyHelpMenuAdminPortal
verifyDocumentationAboutInDashBoardPage
verifyAdminPortalLogin
verifyTellerAndSuperTellerLogin
verifyDocumentationAboutInAdminControlPanel
verifyHelpMenuTellerPortal
verifyLoginWithWrongCredentailsAdminPortal
verifyLoginWithWrongCredentails
verifyUIElementsInAdminControlPanel
verifyHelpMenuAdminPortal
verifyDocumentationAboutInDashBoardPage
verifyAdminPortalLogin
verifyTellerAndSuperTellerLogin
verifyDocumentationAboutInAdminControlPanel
Methods in chronological order
com.imm.ereceipt.testscripts.Login.Login
initialize(org.testng.TestRunner@63a84bb6)
0 ms
init(org.testng.TestRunner@63a84bb6)
40 ms
verifyTellerAndAdminLogin({=, TestID=verifyTellerAndAdminLogin, UserPwd=iMM2022!, Type=SuperTeller, Description=1verify Super ...)
3747 ms
verifyTellerAndAdminLogin({=, TestID=verifyTellerAndAdminLogin, UserPwd=iMM2022!, Type=Teller, Description=1verify Teller logi...)
77111 ms