--- 05 Sep 13:36:38 261 - TestCaseID:: verifyBranchSignSettingsInAdmin
--- 05 Sep 13:36:44 031 - 5 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch sign settings Admin Portal
Steps:
--- 05 Sep 13:36:49 258 - 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=01991af3-c0a7-7fdb-8308-6d9949c988dd&response_mode=fragment&client_info=1&nonce=01991af3-c0ab-7281-abec-6270dc2154e4&state=eyjpzci6ijaxotkxywyzlwmwywetn2myns1hngu4ltrjndlmoduzmtzizcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=rhizvxcqqxt6p-kngpebh0l-uzcbrtmdwiuqxoarheq&code_challenge_method=s256&sso_reload=true
--- 05 Sep 13:36:49 278 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:36:49 431 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 05 Sep 13:36:49 527 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //input[@id='i0116']]
--- 05 Sep 13:36:49 644 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 05 Sep 13:36:49 752 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //input[@id='i0116']]
--- 05 Sep 13:36:49 849 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //input[@id='i0116']]
--- 05 Sep 13:36:54 082 - 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=01991af3-c0a7-7fdb-8308-6d9949c988dd&response_mode=fragment&client_info=1&nonce=01991af3-c0ab-7281-abec-6270dc2154e4&state=eyjpzci6ijaxotkxywyzlwmwywetn2myns1hngu4ltrjndlmoduzmtzizcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=rhizvxcqqxt6p-kngpebh0l-uzcbrtmdwiuqxoarheq&code_challenge_method=s256&sso_reload=true
--- 05 Sep 13:36:54 083 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:36:57 873 - 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=01991af3-c0a7-7fdb-8308-6d9949c988dd&response_mode=fragment&client_info=1&nonce=01991af3-c0ab-7281-abec-6270dc2154e4&state=eyjpzci6ijaxotkxywyzlwmwywetn2myns1hngu4ltrjndlmoduzmtzizcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=rhizvxcqqxt6p-kngpebh0l-uzcbrtmdwiuqxoarheq&code_challenge_method=s256&sso_reload=true
--- 05 Sep 13:36:57 874 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:37:01 680 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //input[@id='i0118']]
--- 05 Sep 13:37:01 773 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //input[@id='i0118']]
--- 05 Sep 13:37:05 220 - 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=01991af3-c0a7-7fdb-8308-6d9949c988dd&response_mode=fragment&client_info=1&nonce=01991af3-c0ab-7281-abec-6270dc2154e4&state=eyjpzci6ijaxotkxywyzlwmwywetn2myns1hngu4ltrjndlmoduzmtzizcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=rhizvxcqqxt6p-kngpebh0l-uzcbrtmdwiuqxoarheq&code_challenge_method=s256&sso_reload=true
--- 05 Sep 13:37:05 221 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 05 Sep 13:37:09 968 - Page URL:: https://login.microsoftonline.com/common/login
--- 05 Sep 13:37:09 969 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:37:18 157 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 13:37:18 159 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:37:21 525 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 13:37:21 526 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:37:21 649 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 05 Sep 13:37:24 828 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 13:37:24 829 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:37:24 916 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 05 Sep 13:37:25 209 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: immAdministration]
--- 05 Sep 13:37:27 361 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: immAdministration]
--- 05 Sep 13:37:27 668 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: immMenuBandW]
--- 05 Sep 13:37:34 193 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: immGlobalControl_NewBranch_button]
--- 05 Sep 13:37:34 653 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 05 Sep 13:37:34 761 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> css selector: input[id*='immBranch_BranchName_']]
--- 05 Sep 13:37:34 859 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> css selector: input[id*='immBranch_BranchName_']]
--- 05 Sep 13:37:35 794 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 05 Sep 13:37:35 900 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 05 Sep 13:37:36 355 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: immGlobalControl_NewBranch_button]
--- 05 Sep 13:37:40 143 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 13:37:40 147 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:37:40 290 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: imm_searchBr_GlobalControl]
--- 05 Sep 13:37:40 361 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: imm_searchBr_GlobalControl]
--- 05 Sep 13:37:40 933 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 05 Sep 13:37:41 049 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 05 Sep 13:37:44 879 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 13:37:44 880 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:37:45 382 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 05 Sep 13:37:45 498 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 05 Sep 13:37:47 958 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 05 Sep 13:37:48 055 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 05 Sep 13:37:48 162 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 05 Sep 13:37:48 256 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 05 Sep 13:37:48 352 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> 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 13:37:57 118 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 13:37:57 119 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:38:03 252 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: immIsEditMode]
--- 05 Sep 13:38:12 228 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 13:38:12 229 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:38:17 365 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //div[@role='tab'][.//span[normalize-space()='Scan']]]
--- 05 Sep 13:38:22 846 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> xpath: //div[@role='tab'][.//span[normalize-space()='Sign']]]
Expected: click on sign tab
Actual(Passed): Sucessfully clicked on sign tab[ScreenShot] --- 05 Sep 13:38:35 536 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 13:38:35 536 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
Expected: Select Default Signature Device
Actual(Passed): Sucessfully Selected Default Signature Device:Sigpad[ScreenShot] --- 05 Sep 13:38:38 860 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: immSelectedSignatureSignatureDeviceDeviceModel]
Expected: Select Device Model
Actual(Passed): Sucessfully Selected Device Model:Topaz 4x5[ScreenShot] --- 05 Sep 13:38:52 794 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: immSelectedSignatureSignatureDeviceDeviceModel]
Expected: Select Connection
Actual(Passed): Sucessfully selected the Connection:COM3[ScreenShot] --- 05 Sep 13:39:10 778 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: immSelectedSignatureSignatureDeviceDeviceModel]
Expected: Backlight ( slider -on(true)/off(false))
Actual(Failed): Failed to slidered the Backlight[ScreenShot] --- 05 Sep 13:39:22 788 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (814c218e849abcdd8e667687f008f25b)] -> id: immScan]
Expected: click on Scan tab
Actual(Passed): Sucessfully clicked on Scan tab[ScreenShot]
Test Failed. Check the steps above in red color.