Verify multidomain functionalities
Steps:
=-=-=-=-=-=-=-=-=-=-=-=-=- Verify in unauthorised user can not access eSign =-=-=-=-=-=-=-=-=-=-=-=-=-
--- 07 Feb 11:39:33 660 - TestCaseID:: verifyMultiDomianLogin
--- 07 Feb 11:39:39 163 - 5 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:558)
--- 07 Feb 11:39:46 525 - Page URL:: https://esignplusqa.immesign.com/teaasp/login.aspx
--- 07 Feb 11:39:46 526 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:39:46 873 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (112fe23b581d0f5077396396ac28df7f)] -> xpath: //*[@id='btnSubmit']]
Navigated to 'eSign Login' page
--- 07 Feb 11:39:47 032 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (112fe23b581d0f5077396396ac28df7f)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
Login with eSign FI - multi
--- 07 Feb 11:39:48 142 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (112fe23b581d0f5077396396ac28df7f)] -> xpath: //*[@id='btnSubmit']]
--- 07 Feb 11:39:55 422 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (112fe23b581d0f5077396396ac28df7f)] -> id: lightbox]
--- 07 Feb 11:39:55 567 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (112fe23b581d0f5077396396ac28df7f)] -> id: i0116]
--- 07 Feb 11:39:56 792 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (112fe23b581d0f5077396396ac28df7f)] -> id: idSIButton9]
--- 07 Feb 11:40:03 097 - Page URL:: https://login.microsoftonline.com/common/login
--- 07 Feb 11:40:03 098 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:40:03 222 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (112fe23b581d0f5077396396ac28df7f)] -> id: lightbox]
--- 07 Feb 11:40:03 353 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (112fe23b581d0f5077396396ac28df7f)] -> id: idSIButton9]
--- 07 Feb 11:40:09 126 - Page URL:: https://login.microsoftonline.com/common/oauth2/logout?redirect_uri=https%3a%2f%2fesignplusqa.immesign.com%2fteaasp%2flogin.aspx&post_logout_redirect_uri=https%3a%2f%2fesignplusqa.immesign.com%2fteaasp%2flogin.aspx&x-client-sku=id_net461&x-client-ver=5.3.0.0
--- 07 Feb 11:40:09 127 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
Log in with Username - KPUser4@immtestcu.onmicrosoft.com
Expected: Verify incorrect domain user should not able to login in to eSign application
Actual(Passed): Not able to login with incorrect domain user - 'KPUser4@immtestcu.onmicrosoft.com', its will throw back to login screen[ScreenShot] =-=-=-=-=-=-=-=-=-=-=-=-=- Login into FIadmin, Delete existing users and import RTS templates =-=-=-=-=-=-=-=-=-=-=-=-=-
--- 07 Feb 11:40:11 787 - TestCaseID:: verifyMultiDomianLogin
--- 07 Feb 11:40:13 349 - 1 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:558)
--- 07 Feb 11:40:19 494 - Page URL:: https://esignplusqa.immesign.com/teaasp/login.aspx
--- 07 Feb 11:40:19 494 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:40:19 630 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //*[@id='btnSubmit']]
Navigated to 'eSign Login' page
--- 07 Feb 11:40:19 767 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
Login with eSign FI - multi
--- 07 Feb 11:40:20 644 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //*[@id='btnSubmit']]
--- 07 Feb 11:40:28 531 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: lightbox]
--- 07 Feb 11:40:28 676 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: i0116]
--- 07 Feb 11:40:29 766 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: idSIButton9]
--- 07 Feb 11:40:36 389 - Page URL:: https://login.microsoftonline.com/common/login
--- 07 Feb 11:40:36 390 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:40:36 502 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: lightbox]
--- 07 Feb 11:40:36 618 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: idSIButton9]
--- 07 Feb 11:40:45 044 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 07 Feb 11:40:45 045 - 7 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
Log in with Username - admin@immazuretest.onmicrosoft.com
--- 07 Feb 11:40:48 232 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 07 Feb 11:40:48 232 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:40:48 346 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: btnUpload]
--- 07 Feb 11:40:51 561 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 07 Feb 11:40:51 561 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:40:51 685 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> css selector: .header]
Logged in successfully with Using -> 'multi' & FIAdmin User -> 'admin@immazuretest.onmicrosoft.com'
[ScreenShot] --- 07 Feb 11:40:51 937 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //a[text()='Administration']]
--- 07 Feb 11:41:00 205 - Page URL:: https://esignplusqa.immesign.com/teaasp/usermaintenance
--- 07 Feb 11:41:00 206 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:41:00 341 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: (//*[@id='btnAddUser'])[1]]
--- 07 Feb 11:41:03 542 - Page URL:: https://esignplusqa.immesign.com/teaasp/usermaintenance
--- 07 Feb 11:41:03 543 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:41:03 659 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> css selector: .header]
Navigated to 'Users Maintenence' Page
--- 07 Feb 11:41:06 849 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //input[@id='txtUserId']]
Entered in UserId - 'qauser2'
--- 07 Feb 11:41:09 768 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: txtDomain]
Entered in Domain - 'azuretest'
--- 07 Feb 11:41:10 636 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: btnSearch]
--- 07 Feb 11:41:14 984 - Page URL:: https://esignplusqa.immesign.com/teaasp/usermaintenance
--- 07 Feb 11:41:14 985 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:41:19 093 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //span[contains(@id,'lblUserId_')]]
User Found --> qauser2 (azuretest)
--- 07 Feb 11:41:19 234 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: btnSelectAll]
--- 07 Feb 11:41:22 557 - Page URL:: https://esignplusqa.immesign.com/teaasp/usermaintenance
--- 07 Feb 11:41:22 558 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:41:22 671 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: (//*[@id='btnDeleteUser'])[1]]
--- 07 Feb 11:41:28 211 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //input[@id='txtUserId']]
Entered in UserId - 'qauser2'
--- 07 Feb 11:41:31 133 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: txtDomain]
Entered in Domain - 'azurebank'
--- 07 Feb 11:41:32 060 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: btnSearch]
--- 07 Feb 11:41:36 501 - Page URL:: https://esignplusqa.immesign.com/teaasp/usermaintenance
--- 07 Feb 11:41:36 501 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:41:40 595 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //span[contains(@id,'lblUserId_')]]
User Found --> qauser2 (azurebank)
--- 07 Feb 11:41:40 754 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: btnSelectAll]
--- 07 Feb 11:41:44 041 - Page URL:: https://esignplusqa.immesign.com/teaasp/usermaintenance
--- 07 Feb 11:41:44 041 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:41:44 149 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: (//*[@id='btnDeleteUser'])[1]]
--- 07 Feb 11:41:49 652 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //input[@id='txtUserId']]
Entered in UserId - 'qauser2'
--- 07 Feb 11:41:52 499 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: txtDomain]
Entered in Domain - 'azurecu'
--- 07 Feb 11:41:53 280 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: btnSearch]
--- 07 Feb 11:41:57 627 - Page URL:: https://esignplusqa.immesign.com/teaasp/usermaintenance
--- 07 Feb 11:41:57 627 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:42:01 728 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //span[contains(@id,'lblUserId_')]]
User Found --> qauser2 (azurecu)
--- 07 Feb 11:42:01 855 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> id: btnSelectAll]
--- 07 Feb 11:42:05 144 - Page URL:: https://esignplusqa.immesign.com/teaasp/usermaintenance
--- 07 Feb 11:42:05 144 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:42:05 254 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: (//*[@id='btnDeleteUser'])[1]]
--- 07 Feb 11:42:10 591 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //a[text()='Administration']]
Navigated to 'Document Maintenance RTS' Page
--- 07 Feb 11:42:22 926 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //*[text()='Select All']]
Clicked 'Select All' button
--- 07 Feb 11:42:26 270 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmaintenance
--- 07 Feb 11:42:26 270 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:42:28 786 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //div[text()='No records found']]
Expected: Delete the ALL documents
Actual(Passed): Successfully deleted ALL the documents[ScreenShot] --- 07 Feb 11:42:32 073 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmaintenance
--- 07 Feb 11:42:32 073 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 07 Feb 11:42:42 210 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (4a0c547bc9781e3097dc69bf8c5fd907)] -> xpath: //*[text()='Import Template']]