--- 11 Sep 15:32:21 034 - TestCaseID:: verifyBranchArchiveSettingsInAdmin
--- 11 Sep 15:32:57 827 - 36 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch Archive settings Admin Portal
Steps:
--- 11 Sep 15:33:13 228 - 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=01993a44-6dde-7b9d-91b6-8618cd4a9349&response_mode=fragment&client_info=1&nonce=01993a44-6e33-79ad-a912-f527e5db913b&state=eyjpzci6ijaxotkzytq0ltzkztatnzywzc04nwu5lti3zwu2otewmmmxziisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=r6m7jlndl2-ab3726rgg-q_od7sly82wjjwynoleu5g&code_challenge_method=s256&sso_reload=true
--- 11 Sep 15:33:13 231 - 7 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 15:33:13 689 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 11 Sep 15:33:14 018 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> xpath: //input[@id='i0116']]
--- 11 Sep 15:33:14 233 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 11 Sep 15:33:14 389 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> xpath: //input[@id='i0116']]
--- 11 Sep 15:33:14 543 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> xpath: //input[@id='i0116']]
--- 11 Sep 15:33:20 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=01993a44-6dde-7b9d-91b6-8618cd4a9349&response_mode=fragment&client_info=1&nonce=01993a44-6e33-79ad-a912-f527e5db913b&state=eyjpzci6ijaxotkzytq0ltzkztatnzywzc04nwu5lti3zwu2otewmmmxziisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=r6m7jlndl2-ab3726rgg-q_od7sly82wjjwynoleu5g&code_challenge_method=s256&sso_reload=true
--- 11 Sep 15:33:20 506 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 15:33:24 234 - 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=01993a44-6dde-7b9d-91b6-8618cd4a9349&response_mode=fragment&client_info=1&nonce=01993a44-6e33-79ad-a912-f527e5db913b&state=eyjpzci6ijaxotkzytq0ltzkztatnzywzc04nwu5lti3zwu2otewmmmxziisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=r6m7jlndl2-ab3726rgg-q_od7sly82wjjwynoleu5g&code_challenge_method=s256&sso_reload=true
--- 11 Sep 15:33:24 242 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 15:33:28 534 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> xpath: //input[@id='i0118']]
--- 11 Sep 15:33:29 031 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> xpath: //input[@id='i0118']]
--- 11 Sep 15:33:33 194 - 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=01993a44-6dde-7b9d-91b6-8618cd4a9349&response_mode=fragment&client_info=1&nonce=01993a44-6e33-79ad-a912-f527e5db913b&state=eyjpzci6ijaxotkzytq0ltzkztatnzywzc04nwu5lti3zwu2otewmmmxziisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=r6m7jlndl2-ab3726rgg-q_od7sly82wjjwynoleu5g&code_challenge_method=s256&sso_reload=true
--- 11 Sep 15:33:33 195 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 11 Sep 15:33:39 635 - Page URL:: https://login.microsoftonline.com/common/login
--- 11 Sep 15:33:39 636 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 15:33:49 651 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 15:33:49 652 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 15:33:53 010 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 15:33:53 011 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 15:33:53 160 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 11 Sep 15:33:56 417 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 15:33:56 418 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 15:33:56 539 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 11 Sep 15:33:56 892 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> id: immAdministration]
--- 11 Sep 15:33:59 089 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> id: immAdministration]
--- 11 Sep 15:33:59 575 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> id: immMenuBandW]
--- 11 Sep 15:34:06 937 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> id: immGlobalControl_NewBranch_button]
--- 11 Sep 15:34:07 565 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 11 Sep 15:34:07 701 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> css selector: input[id*='immBranch_BranchName_']]
--- 11 Sep 15:34:07 793 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> css selector: input[id*='immBranch_BranchName_']]
--- 11 Sep 15:34:08 994 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 11 Sep 15:34:09 263 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 11 Sep 15:34:09 979 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> id: immGlobalControl_NewBranch_button]
--- 11 Sep 15:34:13 913 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 15:34:13 914 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 15:34:14 025 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> id: imm_searchBr_GlobalControl]
--- 11 Sep 15:34:14 146 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> id: imm_searchBr_GlobalControl]
--- 11 Sep 15:34:15 130 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 11 Sep 15:34:15 673 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 11 Sep 15:34:20 275 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 15:34:20 276 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 15:34:20 921 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 11 Sep 15:34:21 071 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 11 Sep 15:34:23 937 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 11 Sep 15:34:24 049 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 11 Sep 15:34:24 177 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 11 Sep 15:34:24 283 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 11 Sep 15:34:24 379 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> 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] --- 11 Sep 15:34:33 954 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 15:34:33 955 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 15:34:40 142 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> id: immIsEditMode]
--- 11 Sep 15:34:49 683 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 15:34:49 684 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 15:34:54 829 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> 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(Failed): Failed to slidered the Archive Scanned Checks[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] --- 11 Sep 15:35:09 218 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> id: immArchiveDefaultMembers]
Expected: set Default Member Numbers
Actual(Passed): Sucessfully setted Default Member Numbers:111[ScreenShot] --- 11 Sep 15:35:17 615 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (65006691c8f8ec748d78dae5ef77994e)] -> 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.