--- 17 Jun 16:47:33 217 - TestCaseID:: verifyUploadMaxFileSizeLimitInDocumentXMLPageWhenDefaultFileSizeLimitSet
--- 17 Jun 16:47:40 526 - 7 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:558)
verify Upload Max File Size Limit In Document XML Page
Steps:
--- 17 Jun 16:47:48 191 - Page URL:: https://esignplusqa.immesign.com/teaasp/login.aspx
--- 17 Jun 16:47:48 193 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 17 Jun 16:47:48 643 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> xpath: //*[@id='btnSubmit']]
Navigated to 'Login' page
--- 17 Jun 16:47:48 765 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
Login with eSign FI - AdobeUser
--- 17 Jun 16:47:49 825 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> xpath: //*[@id='btnSubmit']]
--- 17 Jun 16:47:55 812 - Page URL:: https://login.microsoftonline.com/common/oauth2/authorize?client_id=df5cfe56-31ba-43bf-a2fd-8c4167ee609c&response_type=code%20id_token&scope=openid%20profile&state=openidconnect.authenticationproperties%3dui0c34mgn9teqbk-h0uiaqxwilwrlmxo_aon8bln4t-hnegcn8akt1jndkh1ntikbjpmksvn_thza0yokt5dpk8djulzsmiql2ib2udv16ozhhqyws0rjb4fhdwctdnoqovktat6emglycoagbyyhjt03ys52jz1tbtqm6rcchfwup8dryypgg600g2iaayjgq1unkisufp4woyinccv4w&response_mode=form_post&nonce=638857558701636309.yzy2mzkwotatmznhyy00nzizltg1n2etm2ezzti5mdq3ztawy2jkmgm2mzmtytlhos00ztu4lwi2ztitogjhyzy4zdawywjh&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&sso_reload=true
--- 17 Jun 16:47:55 813 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 17 Jun 16:48:01 029 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> id: lightbox]
--- 17 Jun 16:48:01 117 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> id: i0116]
--- 17 Jun 16:48:01 836 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> id: idSIButton9]
--- 17 Jun 16:48:06 088 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> id: idSIButton9]
--- 17 Jun 16:48:10 246 - Page URL:: https://login.microsoftonline.com/common/login
--- 17 Jun 16:48:10 246 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 17 Jun 16:48:10 378 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> id: lightbox]
--- 17 Jun 16:48:10 463 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> id: idSIButton9]
--- 17 Jun 16:48:18 904 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 17 Jun 16:48:18 904 - 7 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
Log in with Username - janedoe@immtestcu.onmicrosoft.com
--- 17 Jun 16:48:22 113 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 17 Jun 16:48:22 113 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 17 Jun 16:48:22 212 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> id: btnUpload]
--- 17 Jun 16:48:25 428 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 17 Jun 16:48:25 429 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 17 Jun 16:48:25 523 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> css selector: .header]
Logged in to application as : AdobeUser/janedoe@immtestcu.onmicrosoft.com
Navigated to 'Documents Maintenance' page
--- 17 Jun 16:48:31 725 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 17 Jun 16:48:31 725 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 17 Jun 16:48:34 829 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 17 Jun 16:48:34 830 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 17 Jun 16:48:34 916 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> id: selectfiles]
--- 17 Jun 16:48:38 012 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 17 Jun 16:48:38 012 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 17 Jun 16:48:38 098 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> css selector: .header]
Clicked 'Upload Documents' button
--- 17 Jun 16:48:41 426 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 17 Jun 16:48:41 427 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 17 Jun 16:48:44 739 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 17 Jun 16:48:44 739 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
Selected Dictionary : XPLN
--- 17 Jun 16:48:47 955 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> id: UploadFileList]
Uploaded all the files that are in the path - '[src/main/resources/testdata/files/XMLMaxFileSize, src/main/resources/testdata/files/XMLMaxFile]'
Expected: The uploaded file should be displayed with file name, dictionary type and delete icon
Actual(Passed): The uploaded file is displayed with file name, dictionary type and delete icon[ScreenShot] --- 17 Jun 16:48:51 454 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 17 Jun 16:48:51 455 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
Expected: Dictionary name of the uploaded file should be set to the Dictionary chosen at the top dropdown
Actual(Passed): Dictionary name of the uploaded file is set to the Dictionary chosen at the top dropdown[ScreenShot] Total number of documents uploaded is : 1
--- 17 Jun 16:48:51 672 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> css selector: .btn .icon-upload]
Clicked Upload button
Expected: An exception has occurred
Actual(Passed): Successfully validated error message An exception has occurred[ScreenShot] --- 17 Jun 16:49:02 377 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> id: UploadFileList]
--- 17 Jun 16:49:02 455 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> css selector: .btn .icon-upload]
--- 17 Jun 16:49:41 437 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (27d56d8024e946170e478e9d9dcfe2e0)] -> link text: Continue]
Timed out after 2 seconds. Unable to locate the element [ScreenShot]