Verify create session with barcode documnets
Steps:
--- 26 Nov 14:30:04 737 - TestCaseID:: verifyCreateSessionUsingBarcodeDocument
--- 26 Nov 14:30:08 936 - 4 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:522)
--- 26 Nov 14:30:12 408 - Page URL:: https://partners.immesign.com/teaasp/login.aspx
--- 26 Nov 14:30:12 409 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:30:40 491 - Unable to find an element after 10 sec ==> Proxy element for: AjaxElementLocator 'By.id: idSIButton9'
--- 26 Nov 14:30:40 622 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: btnSubmit]
Navigated to 'eSign Login' page
--- 26 Nov 14:30:40 724 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 26 Nov 14:30:40 823 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 26 Nov 14:30:46 405 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: btnSubmit]
--- 26 Nov 14:30:49 245 - Page URL:: https://login.microsoftonline.com/common/oauth2/authorize?client_id=9f442590-8548-4cfa-9504-ebbb1431120a&response_type=code%20id_token&scope=openid%20profile&state=openidconnect.authenticationproperties%3d0u3x1xtnwrqlf5nm7tqjkvgaqhcnthwmboawffqkolmc0j4urt0qnebdm8lpoj9d62q3cg10bd5yv-2mhfhoy0jvgv-n3kybnj2ciideuolualcspx_wsnpoxbqorf3p5k90luko1ufnelpq3iupoz464gqsjmgbhyfbmhlgnnqucs8gtcwjmbko8p7uuc87zyf1fxigwrk2qntm9ybqbg&response_mode=form_post&nonce=638682085391856575.mthkmjfhn2utyzvhys00mthmltk3yzgtowu3ngflywnmmtzizji4zdhjztytnty0my00zguwltllotgtnzk4m2jlogewzmyy&redirect_uri=https%3a%2f%2fpartners.immesign.com%2fteaasp%2flogin.aspx&post_logout_redirect_uri=https%3a%2f%2fpartners.immesign.com%2fteaasp%2flogin.aspx&x-client-sku=id_net461&x-client-ver=5.3.0.0&sso_reload=true
--- 26 Nov 14:30:49 246 - 1 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:30:59 259 - Unable to find an element after 3 sec ==> Proxy element for: AjaxElementLocator 'By.id: btnSubmit'
--- 26 Nov 14:31:03 768 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.id: ErrorSummaryHeader'
--- 26 Nov 14:31:03 878 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: lightbox]
--- 26 Nov 14:31:03 985 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: i0116]
--- 26 Nov 14:31:04 079 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: i0116]
--- 26 Nov 14:31:09 698 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: idSIButton9]
--- 26 Nov 14:31:11 629 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: i0118]
--- 26 Nov 14:31:18 133 - Page URL:: https://login.microsoftonline.com/common/login
--- 26 Nov 14:31:18 134 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:31:18 230 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: lightbox]
--- 26 Nov 14:31:18 672 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: idSIButton9]
--- 26 Nov 14:31:22 690 - Page URL:: https://partners.immesign.com/teaasp/documentmntc.aspx
--- 26 Nov 14:31:22 692 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:31:22 798 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: btnUpload]
--- 26 Nov 14:31:22 985 - Page URL:: https://partners.immesign.com/teaasp/documentmntc.aspx
--- 26 Nov 14:31:22 986 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:31:23 129 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> css selector: .header]
Login as FiAdmin with Existing FI : null
--- 26 Nov 14:31:23 233 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //a[text()='Administration']]
--- 26 Nov 14:31:25 372 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //a[text()='Administration']]
--- 26 Nov 14:31:32 808 - Page URL:: https://partners.immesign.com/teaasp/imaging
--- 26 Nov 14:31:32 809 - 1 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:31:32 923 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: immPageTitle]
--- 26 Nov 14:31:33 225 - Page URL:: https://partners.immesign.com/teaasp/imaging
--- 26 Nov 14:31:33 226 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:31:33 361 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> css selector: .header]
Navigated to 'Imaging System' Page
--- 26 Nov 14:31:36 469 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //div[@id='ImagingSystemDiv']//select[@class='form-control']]
--- 26 Nov 14:31:36 552 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //div[@id='ImagingSystemDiv']//select[@class='form-control']]
--- 26 Nov 14:31:57 329 - Page URL:: https://partners.immesign.com/teaasp/imaging
--- 26 Nov 14:31:57 330 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:31:57 419 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //label[contains(text(),'Subscription Key:')]//following::input[1]]
--- 26 Nov 14:32:04 985 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //label[contains(text(),'Client Secret:')]//following::input[1]]
--- 26 Nov 14:32:12 527 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //label[contains(text(),'Client ID:')]//following::input[1]]
--- 26 Nov 14:32:20 067 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //label[contains(text(),'Document API URL:')]//following::input[1]]
--- 26 Nov 14:32:27 657 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //label[contains(text(),'Authorization API URL:')]//following::input[1]]
--- 26 Nov 14:32:37 252 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> css selector: button[data-bind*='click: $data.SaveTemplate_Click']]
'CenterDoc' imaging System Selected
=== Verify create session using Barcode Document with correct barcode function and barcode type===
=== ========================================================================================== ===
--- 26 Nov 14:32:44 532 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //a[text()='Administration']]
--- 26 Nov 14:32:46 643 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //a[text()='Administration']]
--- 26 Nov 14:32:53 885 - Page URL:: https://partners.immesign.com/teaasp/indexfieldsmaintenance
--- 26 Nov 14:32:53 886 - 1 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:32:54 003 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //button[@id='btnAddNewIndexType']]
--- 26 Nov 14:32:54 505 - Page URL:: https://partners.immesign.com/teaasp/indexfieldsmaintenance
--- 26 Nov 14:32:54 506 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:32:54 639 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> css selector: .header]
Navigated to 'Index Field Maintenence' Page
--- 26 Nov 14:33:07 569 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: ((//div[@class='col-xs-12'])[1]/div)[2]//label[contains(text(),'Default Value:')]//following::input[1]]
--- 26 Nov 14:33:16 854 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //label[contains(text(),'Functions:')]//following::input]
--- 26 Nov 14:33:27 197 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: ((//div[@class='col-xs-12'])[1]/div)[8 or 7]/div[1]/label[contains(text(),'Barcode Function:')]//following::input[1]]
Barcode Function' added in for 'Account_Number' index field in Maintenence Page
[ScreenShot] 'Sub_Account_Number' index field is not available
[ScreenShot] --- 26 Nov 14:33:40 853 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //a[text()='Administration']]
--- 26 Nov 14:33:42 971 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //a[text()='Administration']]
Navigated to 'Document Maintenance RTS' Page
--- 26 Nov 14:33:53 055 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.xpath: //*[text()='Select All']'
--- 26 Nov 14:33:57 459 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.xpath: //*[text()='Select All']'
--- 26 Nov 14:33:57 579 - Page URL:: https://partners.immesign.com/teaasp/documentmaintenance
--- 26 Nov 14:33:57 579 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:34:02 654 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //*[text()='Import Template']]
File Dragged and dropped to clipboard
--- 26 Nov 14:34:33 357 - Unable to find an element after 25 sec ==> [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: globalErrorMessage]
Expected: The File upload in Import template
Actual(Passed): Successfully uploaded zip file in the Import template[ScreenShot] --- 26 Nov 14:34:48 573 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //div[contains(@id,'DocumentRowHead')]]
--- 26 Nov 14:34:54 288 - Page URL:: https://partners.immesign.com/teaasp/documentmaintenance
--- 26 Nov 14:34:54 289 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:34:54 415 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: (//div[@class='selectize-input items full has-options has-items'])[3]]
--- 26 Nov 14:35:01 206 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //label[normalize-space()='Barcode Type']//following::div[1]/div/div/div[2]/div/div]
Selected value from Barcodetype dropdown is -> Wolters Kluwer
[ScreenShot] Barcode Type value selected in Document RTS Page
[ScreenShot] --- 26 Nov 14:35:09 930 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //a[text()='Processing']]
--- 26 Nov 14:35:12 032 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //a[text()='Processing']]
--- 26 Nov 14:35:19 198 - Page URL:: https://partners.immesign.com/teaasp/sessiondetails?collecteddocsmode=menu
--- 26 Nov 14:35:19 199 - 1 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:35:29 446 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: tab0]
--- 26 Nov 14:35:29 546 - Page URL:: https://partners.immesign.com/teaasp/sessiondetails?collecteddocsmode=menu
--- 26 Nov 14:35:29 547 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:35:29 644 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> css selector: .header]
--- 26 Nov 14:35:49 773 - Page URL:: https://partners.immesign.com/teaasp/sessiondetails?collecteddocsmode=menu
--- 26 Nov 14:35:49 774 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:35:49 842 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: dragandrophandler]
--- 26 Nov 14:36:11 121 - Page URL:: https://partners.immesign.com/teaasp/sessiondetails?collecteddocsmode=menu
--- 26 Nov 14:36:11 122 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
File Dragged and dropped to clipboard
--- 26 Nov 14:36:11 190 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: messages]
Expected: The File upload in collected Document Page
Actual(Passed): Successfully uploaded Cert of Prior_Account Barcode.pdf file in the collected Document Page[ScreenShot] --- 26 Nov 14:36:11 479 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> xpath: //span[contains(text(),'Create Session')]]
--- 26 Nov 14:36:24 087 - Unable to find an element after 3 sec ==> Proxy element for: AjaxElementLocator 'By.xpath: //button[contains(text(),'Continue')]'
--- 26 Nov 14:36:33 886 - Unable to find an element after 30 sec ==> [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> tag name: title]
--- 26 Nov 14:36:34 033 - Page URL:: https://partners.immesign.com/teaasp/sessiondetails?origsessionid=202411260907492312364_cerifrfyg3svc00womfa5jkp&refresh=y
--- 26 Nov 14:36:34 034 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:36:34 103 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: Sign]
--- 26 Nov 14:36:34 167 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> id: Attach]
--- 26 Nov 14:36:34 285 - Page URL:: https://partners.immesign.com/teaasp/sessiondetails?origsessionid=202411260907492312364_cerifrfyg3svc00womfa5jkp&refresh=y
--- 26 Nov 14:36:34 286 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 26 Nov 14:36:34 370 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (6ddac2e54cda5748f5d60a2d3136c203)] -> css selector: .header]
Successfully navigated to 'Session Details' page
[ScreenShot] Expected: Barcode Document with Account_Number index field
Actual(Passed): Successfully verified that Barcode documnet automatically filled valule in index field - Account_Number Value - 000767487827[ScreenShot]