--- 28 Aug 13:13:18 329 - TestCaseID:: verifyUIElementsInAdminControlPanel
--- 28 Aug 13:13:29 449 - 11 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify UI elements and header options in Admin portal
Steps:
***** verify UI elements and header options in Admin portal *****
--- 28 Aug 13:13:36 444 - 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=0198f1ab-9fd7-7f4d-af17-caf885dc16e9&response_mode=fragment&client_info=1&nonce=0198f1ab-9fda-7b8d-b8a4-7f42954a6c9b&state=eyjpzci6ijaxothmmwfiltlmzdktnzbjni04mzjmlwm5yty2njuyodjlniisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=n4vmipvwkk60azybtrjvtcem_nzmqrflosjnt7ssasy&code_challenge_method=s256&sso_reload=true
--- 28 Aug 13:13:36 447 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 28 Aug 13:13:36 637 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 28 Aug 13:13:36 769 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> xpath: //input[@id='i0116']]
--- 28 Aug 13:13:36 982 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 28 Aug 13:13:37 110 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> xpath: //input[@id='i0116']]
--- 28 Aug 13:13:37 422 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> xpath: //input[@id='i0116']]
--- 28 Aug 13:13:41 729 - 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=0198f1ab-9fd7-7f4d-af17-caf885dc16e9&response_mode=fragment&client_info=1&nonce=0198f1ab-9fda-7b8d-b8a4-7f42954a6c9b&state=eyjpzci6ijaxothmmwfiltlmzdktnzbjni04mzjmlwm5yty2njuyodjlniisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=n4vmipvwkk60azybtrjvtcem_nzmqrflosjnt7ssasy&code_challenge_method=s256&sso_reload=true
--- 28 Aug 13:13:41 730 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 28 Aug 13:13:45 151 - 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=0198f1ab-9fd7-7f4d-af17-caf885dc16e9&response_mode=fragment&client_info=1&nonce=0198f1ab-9fda-7b8d-b8a4-7f42954a6c9b&state=eyjpzci6ijaxothmmwfiltlmzdktnzbjni04mzjmlwm5yty2njuyodjlniisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=n4vmipvwkk60azybtrjvtcem_nzmqrflosjnt7ssasy&code_challenge_method=s256&sso_reload=true
--- 28 Aug 13:13:45 154 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 28 Aug 13:13:49 012 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> xpath: //input[@id='i0118']]
--- 28 Aug 13:13:49 114 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> xpath: //input[@id='i0118']]
--- 28 Aug 13:13:52 592 - 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=0198f1ab-9fd7-7f4d-af17-caf885dc16e9&response_mode=fragment&client_info=1&nonce=0198f1ab-9fda-7b8d-b8a4-7f42954a6c9b&state=eyjpzci6ijaxothmmwfiltlmzdktnzbjni04mzjmlwm5yty2njuyodjlniisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=n4vmipvwkk60azybtrjvtcem_nzmqrflosjnt7ssasy&code_challenge_method=s256&sso_reload=true
--- 28 Aug 13:13:52 593 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:Fiadmin@Qaxpauto1.onmicrosoft.com
--- 28 Aug 13:13:57 430 - Page URL:: https://login.microsoftonline.com/common/login
--- 28 Aug 13:13:57 431 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 28 Aug 13:14:05 661 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 28 Aug 13:14:05 664 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 28 Aug 13:14:09 009 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 28 Aug 13:14:09 010 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 28 Aug 13:14:09 129 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 28 Aug 13:14:12 435 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 28 Aug 13:14:12 436 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 28 Aug 13:14:12 526 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 28 Aug 13:14:12 828 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immAdministration]
--- 28 Aug 13:14:15 017 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immAdministration]
--- 28 Aug 13:14:19 432 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immHelp]
--- 28 Aug 13:14:21 931 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immHelp]
Expected: Verfiy Administration menu has the following options-
Control Panel, FI Management, Agents, Roles, Imaging Indexes, Member Import, Logging, Archives, About, Logout
Actual(Passed): Successfully verified the Verfiy Administration menu has the following options- Control Panel, FI Management, Agents, Roles, Imaging Indexes, Member Import, Logging, Archives, About, Logout [ScreenShot] --- 28 Aug 13:14:27 240 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immAdministration]
--- 28 Aug 13:14:29 418 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immAdministration]
--- 28 Aug 13:14:31 719 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immMenuLogging]
--- 28 Aug 13:14:33 168 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immRefresh]
Successfully navigated to the 'Logging' page after refresh [ScreenShot] --- 28 Aug 13:14:33 907 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immAdministration]
--- 28 Aug 13:14:36 175 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immAdministration]
--- 28 Aug 13:14:36 648 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immMenuAgents]
--- 28 Aug 13:14:39 647 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immRefresh]
Successfully navigated to the 'Agent' page after refresh [ScreenShot] --- 28 Aug 13:14:40 050 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immAdministration]
--- 28 Aug 13:14:42 229 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immAdministration]
--- 28 Aug 13:14:44 456 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immMenuArchive]
--- 28 Aug 13:14:47 125 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immRefresh]
Successfully navigated to the 'Archives' page after refresh [ScreenShot] --- 28 Aug 13:14:47 494 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immAdministration]
--- 28 Aug 13:14:49 660 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immAdministration]
--- 28 Aug 13:14:49 949 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immMenuRoles]
--- 28 Aug 13:14:52 708 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immRefresh]
Successfully navigated to the 'Roles' page after refresh [ScreenShot] --- 28 Aug 13:14:53 068 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immAdministration]
--- 28 Aug 13:14:55 228 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immAdministration]
--- 28 Aug 13:14:57 935 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (50e35c8663d02b15014111fcffa5e9d8)] -> id: immMenuMemberImportOnDemand]
element click intercepted: Element is not clickable at point (1758, 302). Other element would receive the click: ...
[ScreenShot]