--- 18 Jun 09:25:29 980 - TestCaseID:: verifyUploadMaxFileSizeLimitInDocumentXMLPageWhenDefaultFileSizeLimitSet
--- 18 Jun 09:25:33 923 - 3 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:558)
verify Upload Max File Size Limit In Document XML Page
Steps:
--- 18 Jun 09:25:40 930 - Page URL:: https://esignplusqa.immesign.com/teaasp/login.aspx
--- 18 Jun 09:25:40 931 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:25:41 145 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> xpath: //*[@id='btnSubmit']]
Navigated to 'Login' page
--- 18 Jun 09:25:41 262 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
Login with eSign FI - AdobeUser
--- 18 Jun 09:25:42 039 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> xpath: //*[@id='btnSubmit']]
--- 18 Jun 09:25:47 597 - 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%3d9nz3jnkg4q7gq2kqqth2l5mua7foaliixfpxxsvpwtjuzc86baxf4ak2soahtwlpumy_rdctwi9ey4alcuaow0bmqm1-owefhf_-w2r2cekrvi1l3setgu0-0psel27ffobc4c-nn3txub_0-v6ujk_qdf94gogcoahukm4pcy-tlth9lxumulytrmpqksgtg1h1dokmluau6utssomboa&response_mode=form_post&nonce=638858157423838454.ytmwywnlm2qtn2e3yy00ytdmlwi5zjutn2yynddmoddintkzotgynjbmowmtyjrinc00otk1lwi5oduty2u3ndrlowjlotjh&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
--- 18 Jun 09:25:47 598 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:25:52 735 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> id: lightbox]
--- 18 Jun 09:25:52 848 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> id: i0116]
--- 18 Jun 09:25:53 628 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> id: idSIButton9]
--- 18 Jun 09:25:58 045 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> id: idSIButton9]
--- 18 Jun 09:26:02 134 - Page URL:: https://login.microsoftonline.com/common/login
--- 18 Jun 09:26:02 135 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:26:02 234 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> id: lightbox]
--- 18 Jun 09:26:02 324 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> id: idSIButton9]
--- 18 Jun 09:26:11 089 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 18 Jun 09:26:11 089 - 8 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
Log in with Username - janedoe@immtestcu.onmicrosoft.com
--- 18 Jun 09:26:14 334 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 18 Jun 09:26:14 334 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:26:14 434 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> id: btnUpload]
--- 18 Jun 09:26:17 609 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 18 Jun 09:26:17 609 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:26:17 706 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> css selector: .header]
Logged in to application as : AdobeUser/janedoe@immtestcu.onmicrosoft.com
Navigated to 'Documents Maintenance' page
--- 18 Jun 09:26:24 179 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 18 Jun 09:26:24 180 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:26:27 294 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 18 Jun 09:26:27 295 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:26:27 384 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> id: selectfiles]
--- 18 Jun 09:26:30 549 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 18 Jun 09:26:30 549 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:26:30 635 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> css selector: .header]
Clicked 'Upload Documents' button
--- 18 Jun 09:26:33 888 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 18 Jun 09:26:33 889 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:26:37 072 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 18 Jun 09:26:37 072 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
Selected Dictionary : XPLN
--- 18 Jun 09:26:40 249 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> 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] --- 18 Jun 09:26:43 716 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 18 Jun 09:26:43 716 - 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
--- 18 Jun 09:26:43 919 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> css selector: .btn .icon-upload]
Clicked Upload button
Expected: An exception has occurred
Actual(Passed): Successfully validated error message An exception has occurred[ScreenShot] --- 18 Jun 09:26:54 627 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> id: UploadFileList]
--- 18 Jun 09:26:54 708 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> css selector: .btn .icon-upload]
--- 18 Jun 09:27:32 603 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> link text: Continue]
BtnStop not visible
Clicked Upload button
Total files :1 Successfully uploaded :1files and 0 failed to upload
Expected: Check mark should appear for successully uploaded document
Actual(Passed): Check mark appears for successully uploaded document 'XML_File_18_9MB.pdf'[ScreenShot] --- 18 Jun 09:27:47 401 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> link text: Continue]
--- 18 Jun 09:27:54 059 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 18 Jun 09:27:54 060 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:27:54 154 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> id: btnUpload]
--- 18 Jun 09:27:57 324 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 18 Jun 09:27:57 324 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:27:57 414 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> css selector: .header]
Clicked Continue button
--- 18 Jun 09:27:57 507 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> xpath: //a[text()='Reporting']]
--- 18 Jun 09:28:05 489 - Page URL:: https://esignplusqa.immesign.com/teaasp/report?id=errordetails
--- 18 Jun 09:28:05 489 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:28:05 584 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> id: immPageTitle]
--- 18 Jun 09:28:08 717 - Page URL:: https://esignplusqa.immesign.com/teaasp/report?id=errordetails
--- 18 Jun 09:28:08 718 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:28:08 800 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> css selector: .header]
--- 18 Jun 09:28:08 891 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> id: txtErrorCode]
--- 18 Jun 09:28:09 563 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> id: btnSearch]
--- 18 Jun 09:28:11 840 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (3c44892e283b85364a77ddad6618effa)] -> xpath: //div[@data-bind='text: ErrorID']]
Expected: Error message displayed
Actual(Passed): Error message displayed[ScreenShot] Timed out after 2 seconds. Unable to locate the element [ScreenShot]