Test results
1 suite, 1 failed test
com.imm.ereceipt.testscripts.FiSettings.FiSettings
verifyBranchWorkstationSettingsInAdmin ({FromBranch=, Archived Transactions=, Description=verify Branch Workstation Settings Admin Portal, Archive=, Operation=, print signatur=, Name=, Clear=, TestID=verifyBranchWorkstationSettingsInAdmin, Phone=, MultipleWorkstation=, WorkstationName=, ToBranch=, WorkstationDeleteOption=, Subscription Names=, BranchName=IMMCHAND8, retention=, FilePath=, Agent=, UserPwd=iMM2022!, BranchDeleteOption=, Transtatus=Archived-false;Active-true;Error-false, Receipt=, Report=, Index_Field_Name=, Agents=Log File Location-C:\PDF\Logs;Log Event Level-Verbose;File Size in Bytes-10;Retained File Count Limit-10;File-True;Port-False, IPFilter=, Text=, Hold Notice=, Suppress=, SchedualType=, Date=, Platfrom=, GroupId=, print Disburstments=, Role=, Brand=, SMTP=, Print signature line=, TimeZone=, Imaging System=, Header=, MultipleBranches=, Username=fiAdmin@Qaxpauto1.onmicrosoft.com, MappedOption=, Sign=, Scan=, PortNumber=})
java.lang.AssertionError: Test Failed. Check the steps above in red color. at org.testng.Assert.fail(Assert.java:99) at com.imm.ereceipt.support.Log.fail(Log.java:530) at com.imm.ereceipt.support.Log.testCaseResult(Log.java:253) at com.imm.ereceipt.testscripts.FiSettings.FiSettings.verifyBranchWorkstationSettingsInAdmin(FiSettings.java:1829) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:578) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133) at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598) at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173) at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46) at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824) at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.testng.TestRunner.privateRun(TestRunner.java:794) at org.testng.TestRunner.run(TestRunner.java:596) at org.testng.SuiteRunner.runTest(SuiteRunner.java:377) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:371) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:332) at org.testng.SuiteRunner.run(SuiteRunner.java:276) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1212) at org.testng.TestNG.runSuitesLocally(TestNG.java:1134) at org.testng.TestNG.runSuites(TestNG.java:1063) at org.testng.TestNG.run(TestNG.java:1031) at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
(verify Branch Workstation Settings in Admin Page)
C:\Users\dhima\git\eReceipts\IMM_EReceiptsWeb_Automation\testxml\Regression\XP\QAXPAuto\EReceiptChrome_demo.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite thread-count="1" name="IMM_QA_Automation" guice-stage="DEVELOPMENT" verbose="3">
  <parameter name="webSite" value="https://er-tellerportal-demo.azurewebsites.net"/>
  <parameter name="portalType" value="Cloud"/>
  <parameter name="FIName" value="QAXPAuto"/>
  <parameter name="projectKey" value="ER"/>
  <parameter name="deviceHost" value="localhost"/>
  <parameter name="devicePort" value="4444"/>
  <parameter name="browserName" value="chrome_windows"/>
  <parameter name="Host" value="XP"/>
  <parameter name="adminUrl" value="https://er-fiadminportal-demo.azurewebsites.net"/>
  <parameter name="TestType" value="Regression"/>
  <listeners>
    <listener class-name="com.imm.ereceipt.support.MethodInterceptor"/>
  </listeners>
  <test thread-count="1" name="IMM_Test_Chrome" verbose="3">
    <classes>
      <class name="com.imm.ereceipt.testscripts.FiSettings.FiSettings">
        <methods>
          <include name="verifyBranchWorkstationSettingsInAdmin"/>
        </methods>
      </class> <!-- com.imm.ereceipt.testscripts.FiSettings.FiSettings -->
    </classes>
  </test> <!-- IMM_Test_Chrome -->
</suite> <!-- IMM_QA_Automation -->
            
Tests for IMM_QA_Automation
  • IMM_Test_Chrome (1 class)
Groups for IMM_QA_Automation
DashBoard
verifyBranchWorkstationSettingsInAdmin
P1
verifyBranchWorkstationSettingsInAdmin
Smoke
verifyBranchWorkstationSettingsInAdmin
Times for IMM_QA_Automation
Total running time: 5 minutes
Reporter output for IMM_QA_Automation
verifyBranchWorkstationSettingsInAdmin({FromBranch=, Archived Transactions=, Description=verify Branch Workstation Settings Admin Portal, A...)
   --- 09 Sept 14:03:36 315 - TestCaseID:: verifyBranchWorkstationSettingsInAdmin
   --- 09 Sept 14:03:40 780 - 4 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch Workstation Settings Admin Portal
Steps:
   --- 09 Sept 14:04:12 871 - 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=01992d9c-24a4-7eaf-9fd3-933277469bd5&response_mode=fragment&client_info=1&nonce=01992d9c-24a5-7345-a7a7-a7ee14f4f11e&state=eyjpzci6ijaxotkyzdljlti0ytutnzk0ms1iogeylwm4owizmzy0zjbjmyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=xsk8g5qyej7l9hvoarpslvhy2zk2-iyxk1tf9q-x4ve&code_challenge_method=s256&sso_reload=true
   --- 09 Sept 14:04:12 872 - 15 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 09 Sept 14:04:28 040 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> xpath: //input[@id='i0116']]
 Successfully navigated to 'eReceipts FI Admin' Page
   --- 09 Sept 14:04:28 114 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> xpath: //input[@id='i0116']]
   --- 09 Sept 14:04:28 208 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> id: idSIButton9]
 Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
   --- 09 Sept 14:04:28 302 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> xpath: //input[@id='i0116']]
   --- 09 Sept 14:04:28 378 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> xpath: //input[@id='i0116']]
   --- 09 Sept 14:04:43 688 - 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=01992d9c-24a4-7eaf-9fd3-933277469bd5&response_mode=fragment&client_info=1&nonce=01992d9c-24a5-7345-a7a7-a7ee14f4f11e&state=eyjpzci6ijaxotkyzdljlti0ytutnzk0ms1iogeylwm4owizmzy0zjbjmyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=xsk8g5qyej7l9hvoarpslvhy2zk2-iyxk1tf9q-x4ve&code_challenge_method=s256&sso_reload=true
   --- 09 Sept 14:04:43 689 - 15 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 09 Sept 14:04:59 060 - 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=01992d9c-24a4-7eaf-9fd3-933277469bd5&response_mode=fragment&client_info=1&nonce=01992d9c-24a5-7345-a7a7-a7ee14f4f11e&state=eyjpzci6ijaxotkyzdljlti0ytutnzk0ms1iogeylwm4owizmzy0zjbjmyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=xsk8g5qyej7l9hvoarpslvhy2zk2-iyxk1tf9q-x4ve&code_challenge_method=s256&sso_reload=true
   --- 09 Sept 14:04:59 061 - 15 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
 Password text field is shown [ScreenShot]
   --- 09 Sept 14:05:02 574 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> xpath: //input[@id='i0118']]
   --- 09 Sept 14:05:02 632 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> xpath: //input[@id='i0118']]
   --- 09 Sept 14:05:17 912 - 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=01992d9c-24a4-7eaf-9fd3-933277469bd5&response_mode=fragment&client_info=1&nonce=01992d9c-24a5-7345-a7a7-a7ee14f4f11e&state=eyjpzci6ijaxotkyzdljlti0ytutnzk0ms1iogeylwm4owizmzy0zjbjmyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=xsk8g5qyej7l9hvoarpslvhy2zk2-iyxk1tf9q-x4ve&code_challenge_method=s256&sso_reload=true
   --- 09 Sept 14:05:17 912 - 15 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
 Entered values for the fields in 'Login' page [ScreenShot]
 logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
   --- 09 Sept 14:05:34 897 - Page URL:: https://login.microsoftonline.com/common/login
   --- 09 Sept 14:05:34 897 - 16 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 09 Sept 14:05:57 075 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
   --- 09 Sept 14:05:57 076 - 18 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 09 Sept 14:06:12 287 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
   --- 09 Sept 14:06:12 288 - 15 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 09 Sept 14:06:12 380 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
   --- 09 Sept 14:06:27 568 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
   --- 09 Sept 14:06:27 570 - 15 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 09 Sept 14:06:27 634 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> xpath: //b[contains(text(),'Dashboard')]]

Successfully navigated to the 'Control Panel' page [ScreenShot]
   --- 09 Sept 14:06:27 829 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> id: immAdministration]
   --- 09 Sept 14:06:29 990 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> id: immAdministration]
   --- 09 Sept 14:06:30 179 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> id: immMenuBandW]

Successfully navigated to the 'Branches' page [ScreenShot]
   --- 09 Sept 14:06:47 832 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
   --- 09 Sept 14:06:47 832 - 15 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 09 Sept 14:07:03 648 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
   --- 09 Sept 14:07:03 648 - 15 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 09 Sept 14:07:03 740 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> id: imm_searchBr_GlobalControl]
   --- 09 Sept 14:07:03 812 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> id: imm_searchBr_GlobalControl]
   --- 09 Sept 14:07:04 148 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
   --- 09 Sept 14:07:04 236 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page
[ScreenShot]
   --- 09 Sept 14:07:19 655 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
   --- 09 Sept 14:07:19 656 - 15 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 09 Sept 14:07:20 120 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> css selector: button[id*='immBranch_TabSettings_']]
   --- 09 Sept 14:07:20 219 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> css selector: button[id*='immBranch_TabSettings_']]
   --- 09 Sept 14:07:22 440 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
   --- 09 Sept 14:07:22 492 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
   --- 09 Sept 14:07:22 563 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
   --- 09 Sept 14:07:22 621 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
   --- 09 Sept 14:07:22 682 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> 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]
   --- 09 Sept 14:07:43 174 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
   --- 09 Sept 14:07:43 174 - 15 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 09 Sept 14:07:49 356 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> id: immIsEditMode]
 clicked on Edit [ScreenShot]
   --- 09 Sept 14:08:09 785 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
   --- 09 Sept 14:08:09 785 - 15 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 09 Sept 14:08:14 920 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> xpath: //div[@role='tab']//span[normalize-space()='Workstation']]
Expected: click on Workstation tab
Actual(Passed): Sucessfully clicked on Workstation tab
[ScreenShot]
   --- 09 Sept 14:08:21 465 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> id: immClientAgentLogFileLocation]
Expected: set Log File Location
Actual(Passed): Sucessfully set Log File Location:C:\PDF\Logs
[ScreenShot]
Expected: Select Log Event Level
Actual(Passed): Sucessfully Selected Log Event Level:Verbose
[ScreenShot]
   --- 09 Sept 14:08:40 907 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> id: immClientAgentFileSize]
Expected: set File Size in Bytes
Actual(Passed): Sucessfully set File Size in Bytes:10
[ScreenShot]
   --- 09 Sept 14:08:48 570 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fb39fdf06b3d7b598fe48aebe650b17e)] -> id: immClientAgentRetainedFileCountLimit]
Expected: set Retained File Count Limit
Actual(Passed): Sucessfully set Retained File Count Limit:10
[ScreenShot]
Expected: File ( slider -on(true)/off(false))
Actual(Failed): Failed to slidered the File
[ScreenShot]
Expected: Port ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the Port:False
[ScreenShot]

Test Failed. Check the steps above in red color.
29 ignored methods
com.imm.ereceipt.testscripts.FiSettings.FiSettings
verifyFIWorkstationSettingsInAdmin
verifyFIDisplayHoldNoticeStatusInAdmin
verifyBranchScanSettingsInAdmin
verifyFIArchiveSettingsInAdmin
verifySubscriptionSettingsInAdminTellerPortal
verifyFIGeneralSettingsInAdmin
verifyFIScanSettingsInAdmin
verifySettingsInAdminTellerPortal
verifyBranchOperationSettingsInAdmin
verifyeReceiptsRestartInBranchSettings
verifyFIPrintSettingsInAdmin
verifyWorkstationPrintSettingsInAdmin
verifyeReceiptsRestartTextInFISettings
verifyInstAddressLabelinFiSettings
verifyFIOperationSettingsInAdmin
verifyFIArchiveSettingsDefaultMemberErrMessage
verifyBranchPrintSettingsInAdmin
verifyIPFilterInAdminTellerPortal
verifyFISignSettingsInAdmin
verifyFIPlatformSettingsInAdmin
verifyFIHoldNoticeSettingsInAdmin
verifySystemSettingsTextTab
verifyinsAddressGeneralSettings
verifyFIDisplayHoldNoticeToggleInAdmin
verifyFISettingsInAdminTellerPortal
verifySystemSettingsTextInvalidTemplate
verifyBranchSignSettingsInAdmin
verifyTextSubscriptionInAdminTellerPortal
verifyBranchArchiveSettingsInAdmin
Methods in chronological order
com.imm.ereceipt.testscripts.FiSettings.FiSettings
initialize(org.testng.TestRunner@31f31b20) 0 ms
init(org.testng.TestRunner@31f31b20) 39 ms
verifyBranchWorkstationSettingsInAdmin({FromBranch=, Archived Transactions=, Description=verify Branch Workstation Settings Admin Portal, A...) 4639 ms