--- 05 Sep 21:39:06 307 - TestCaseID:: verifyBranchArchiveSettingsInAdmin
--- 05 Sep 21:39:11 136 - 4 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch Archive settings Admin Portal
Steps:
--- 05 Sep 21:39:15 350 - 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-fiadminportal-demo.azurewebsites.net&client-request-id=01991cad-6fb1-73b0-b2c0-2085bfc7edc4&response_mode=fragment&client_info=1&nonce=01991cad-6fb3-789b-8607-6167df506ced&state=eyjpzci6ijaxotkxy2fkltzmyjmtnzdhys1iyziyltc1zwninjgxnjg2yyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=m4vauzagdbik1-flxohlkc08qep-njyf7uehccgp3au&code_challenge_method=s256&sso_reload=true
--- 05 Sep 21:39:15 352 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 21:39:15 445 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 05 Sep 21:39:15 525 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //input[@id='i0116']]
--- 05 Sep 21:39:15 634 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 05 Sep 21:39:15 735 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //input[@id='i0116']]
--- 05 Sep 21:39:15 846 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //input[@id='i0116']]
--- 05 Sep 21:39:19 504 - 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-fiadminportal-demo.azurewebsites.net&client-request-id=01991cad-6fb1-73b0-b2c0-2085bfc7edc4&response_mode=fragment&client_info=1&nonce=01991cad-6fb3-789b-8607-6167df506ced&state=eyjpzci6ijaxotkxy2fkltzmyjmtnzdhys1iyziyltc1zwninjgxnjg2yyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=m4vauzagdbik1-flxohlkc08qep-njyf7uehccgp3au&code_challenge_method=s256&sso_reload=true
--- 05 Sep 21:39:19 506 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 21:39:22 809 - 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-fiadminportal-demo.azurewebsites.net&client-request-id=01991cad-6fb1-73b0-b2c0-2085bfc7edc4&response_mode=fragment&client_info=1&nonce=01991cad-6fb3-789b-8607-6167df506ced&state=eyjpzci6ijaxotkxy2fkltzmyjmtnzdhys1iyziyltc1zwninjgxnjg2yyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=m4vauzagdbik1-flxohlkc08qep-njyf7uehccgp3au&code_challenge_method=s256&sso_reload=true
--- 05 Sep 21:39:22 810 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 21:39:26 260 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //input[@id='i0118']]
--- 05 Sep 21:39:26 354 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //input[@id='i0118']]
--- 05 Sep 21:39:29 703 - 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-fiadminportal-demo.azurewebsites.net&client-request-id=01991cad-6fb1-73b0-b2c0-2085bfc7edc4&response_mode=fragment&client_info=1&nonce=01991cad-6fb3-789b-8607-6167df506ced&state=eyjpzci6ijaxotkxy2fkltzmyjmtnzdhys1iyziyltc1zwninjgxnjg2yyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=m4vauzagdbik1-flxohlkc08qep-njyf7uehccgp3au&code_challenge_method=s256&sso_reload=true
--- 05 Sep 21:39:29 704 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 05 Sep 21:39:35 240 - Page URL:: https://login.microsoftonline.com/common/login
--- 05 Sep 21:39:35 241 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 21:39:42 314 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 21:39:42 315 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 21:39:45 455 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 21:39:45 456 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 21:39:45 527 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 05 Sep 21:39:48 636 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 21:39:48 637 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 21:39:48 705 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 05 Sep 21:39:48 920 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> id: immAdministration]
--- 05 Sep 21:39:51 034 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> id: immAdministration]
--- 05 Sep 21:39:51 264 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> id: immMenuBandW]
--- 05 Sep 21:39:57 609 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> id: immGlobalControl_NewBranch_button]
--- 05 Sep 21:39:57 864 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 05 Sep 21:39:57 954 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> css selector: input[id*='immBranch_BranchName_']]
--- 05 Sep 21:39:58 030 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> css selector: input[id*='immBranch_BranchName_']]
--- 05 Sep 21:39:58 720 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 05 Sep 21:39:58 812 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 05 Sep 21:39:59 113 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> id: immGlobalControl_NewBranch_button]
--- 05 Sep 21:40:02 535 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 21:40:02 535 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 21:40:02 610 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> id: imm_searchBr_GlobalControl]
--- 05 Sep 21:40:02 673 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> id: imm_searchBr_GlobalControl]
--- 05 Sep 21:40:03 281 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 05 Sep 21:40:03 418 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 05 Sep 21:40:07 083 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 21:40:07 084 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 21:40:07 506 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 05 Sep 21:40:07 609 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 05 Sep 21:40:09 944 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 05 Sep 21:40:10 011 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 05 Sep 21:40:10 080 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 05 Sep 21:40:10 154 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 05 Sep 21:40:10 222 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //span[text()='Suppress']/ancestor::mat-expansion-panel-header]
Expected: verify the settings of Branch name in 'Branches' page
Actual(Passed): Successfully verified the settings of Branch name in 'Branches' page[ScreenShot] --- 05 Sep 21:40:18 776 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 21:40:18 777 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 21:40:24 870 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> id: immIsEditMode]
--- 05 Sep 21:40:33 406 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 21:40:33 407 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 21:40:38 522 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> xpath: //div[@role='tab'][.//span[normalize-space()='Archive']]]
Expected: click on Archive tab
Actual(Passed): Sucessfully clicked on Archive tab[ScreenShot] Expected: Archive Scanned Checks ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the Archive Scanned Checks:false[ScreenShot] Expected: click on PDFEncryptionLevel
Actual(Failed): Failed to click on PDFEncryptionLevel[ScreenShot] Expected: Send Notifications ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the Send Notifications:false[ScreenShot] Expected: Email ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the Email:false[ScreenShot] Expected: Send Notifications ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the Text:false[ScreenShot] --- 05 Sep 21:40:51 365 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> id: immArchiveDefaultMembers]
Expected: set Default Member Numbers
Actual(Passed): Sucessfully setted Default Member Numbers:111[ScreenShot] --- 05 Sep 21:40:59 204 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8d197e8b578ae65eae12b6a8d302552d)] -> id: immArchiveDefaultMember]
Expected: set Default Member Number
Actual(Passed): Sucessfully setted Default Member Number:111[ScreenShot]
Test Failed. Check the steps above in red color.