--- 05 Sep 17:19:13 115 - TestCaseID:: verifyeReceiptsRestartInBranchSettings
--- 05 Sep 17:19:21 334 - 8 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify eReceipts Restart text in Branch settings
Steps:
--- 05 Sep 17:19:29 632 - 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=01991bbf-9c6a-70ed-8f29-50f360810d83&response_mode=fragment&client_info=1&nonce=01991bbf-9c7f-7b37-be24-b5284b13fb74&state=eyjpzci6ijaxotkxymjmltljnmmtnzu5ms1intuwlwvlmddhmjyzmzjlzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=trl_uhdzq2hrdkmkjlejtwtwim5l3fqoabsr5vixhcu&code_challenge_method=s256&sso_reload=true
--- 05 Sep 17:19:29 639 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:19:29 846 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 05 Sep 17:19:29 951 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> xpath: //input[@id='i0116']]
--- 05 Sep 17:19:30 066 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 05 Sep 17:19:30 177 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> xpath: //input[@id='i0116']]
--- 05 Sep 17:19:30 303 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> xpath: //input[@id='i0116']]
--- 05 Sep 17:19:34 476 - 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=01991bbf-9c6a-70ed-8f29-50f360810d83&response_mode=fragment&client_info=1&nonce=01991bbf-9c7f-7b37-be24-b5284b13fb74&state=eyjpzci6ijaxotkxymjmltljnmmtnzu5ms1intuwlwvlmddhmjyzmzjlzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=trl_uhdzq2hrdkmkjlejtwtwim5l3fqoabsr5vixhcu&code_challenge_method=s256&sso_reload=true
--- 05 Sep 17:19:34 477 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:19:38 219 - 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=01991bbf-9c6a-70ed-8f29-50f360810d83&response_mode=fragment&client_info=1&nonce=01991bbf-9c7f-7b37-be24-b5284b13fb74&state=eyjpzci6ijaxotkxymjmltljnmmtnzu5ms1intuwlwvlmddhmjyzmzjlzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=trl_uhdzq2hrdkmkjlejtwtwim5l3fqoabsr5vixhcu&code_challenge_method=s256&sso_reload=true
--- 05 Sep 17:19:38 221 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:19:42 397 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> xpath: //input[@id='i0118']]
--- 05 Sep 17:19:42 496 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> xpath: //input[@id='i0118']]
--- 05 Sep 17:19:46 007 - 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=01991bbf-9c6a-70ed-8f29-50f360810d83&response_mode=fragment&client_info=1&nonce=01991bbf-9c7f-7b37-be24-b5284b13fb74&state=eyjpzci6ijaxotkxymjmltljnmmtnzu5ms1intuwlwvlmddhmjyzmzjlzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=trl_uhdzq2hrdkmkjlejtwtwim5l3fqoabsr5vixhcu&code_challenge_method=s256&sso_reload=true
--- 05 Sep 17:19:46 008 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 05 Sep 17:19:51 061 - Page URL:: https://login.microsoftonline.com/common/login
--- 05 Sep 17:19:51 062 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:19:59 532 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 17:19:59 534 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:20:02 963 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 17:20:02 964 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:20:03 090 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 05 Sep 17:20:06 310 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 17:20:06 313 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:20:06 433 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 05 Sep 17:20:06 818 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> id: immAdministration]
--- 05 Sep 17:20:09 002 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> id: immAdministration]
--- 05 Sep 17:20:09 449 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> id: immMenuBandW]
--- 05 Sep 17:20:15 445 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 17:20:15 446 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:20:15 589 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> id: imm_searchBr_GlobalControl]
--- 05 Sep 17:20:15 685 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> id: imm_searchBr_GlobalControl]
--- 05 Sep 17:20:16 412 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 05 Sep 17:20:16 585 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 05 Sep 17:20:20 377 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 17:20:20 378 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:20:37 291 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> id: immGlobalControl_NewBranch_button]
--- 05 Sep 17:20:38 115 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 05 Sep 17:20:38 247 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> css selector: input[id*='immBranch_BranchName_']]
--- 05 Sep 17:20:38 412 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> css selector: input[id*='immBranch_BranchName_']]
--- 05 Sep 17:20:39 688 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 05 Sep 17:20:39 922 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 05 Sep 17:20:40 841 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0dc28ef54037555e1cbd93dbbb9c0b04)] -> id: immGlobalControl_NewBranch_button]
--- 05 Sep 17:20:44 066 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 17:20:44 068 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:21:10 539 - Element not found : element
--- 05 Sep 17:21:24 308 - Element not found : element
--- 05 Sep 17:21:38 013 - Element not found : element
--- 05 Sep 17:21:51 773 - Element not found : element
--- 05 Sep 17:22:05 397 - Element not found : element
--- 05 Sep 17:22:06 412 - Unable to find an element after 5 sec
--- 05 Sep 17:22:38 310 - Unable to find a element after 31 sec
Click the Setting not found in page!!