--- 18 Jun 09:34:13 218 - TestCaseID:: verifyUploadMaxFileSizeLimitInDocumentXMLPageWhenDefaultFileSizeLimitSet
--- 18 Jun 09:34:16 959 - 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:34:23 871 - Page URL:: https://esignplusqa.immesign.com/teaasp/login.aspx
--- 18 Jun 09:34:23 872 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:34:24 086 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> xpath: //*[@id='btnSubmit']]
Navigated to 'Login' page
--- 18 Jun 09:34:24 195 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
Login with eSign FI - AdobeUser
--- 18 Jun 09:34:24 935 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> xpath: //*[@id='btnSubmit']]
--- 18 Jun 09:34:30 793 - 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%3d_3nltcg9hzilv524utej4ghiw7sw1qh3hmojzgrcsn5ei3hqwyogukxnhtejqj9_dxihywrpccz7nyc8rzlt4kdnx9enhptsctjwffzmtikmrtlzrqwkphtsf8uqqqppppyinnqyxhgq6dehvamndf9blhiad6vv9s_3ud7k6fi2j0e8naopfisekesrh25jwrnbfs9mnqkcdlsg8cravg&response_mode=form_post&nonce=638858162652697145.zwfkmtm4odktzwi0oc00nte3ltlkndcty2e1nmfkmzu3zdhlodzjytlhmwmtowzlyi00mdy1lwiwzmutzjk4mdc2zjkwztbk&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:34:30 794 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:34:35 924 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> id: lightbox]
--- 18 Jun 09:34:36 025 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> id: i0116]
--- 18 Jun 09:34:36 834 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> id: idSIButton9]
--- 18 Jun 09:34:41 088 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> id: idSIButton9]
--- 18 Jun 09:34:45 200 - Page URL:: https://login.microsoftonline.com/common/login
--- 18 Jun 09:34:45 200 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:34:45 300 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> id: lightbox]
--- 18 Jun 09:34:45 378 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> id: idSIButton9]
--- 18 Jun 09:34:53 977 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 18 Jun 09:34:53 978 - 8 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
Log in with Username - janedoe@immtestcu.onmicrosoft.com
--- 18 Jun 09:34:57 169 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 18 Jun 09:34:57 169 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:34:57 272 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> id: btnUpload]
--- 18 Jun 09:35:00 564 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 18 Jun 09:35:00 565 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:35:00 654 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> css selector: .header]
Logged in to application as : AdobeUser/janedoe@immtestcu.onmicrosoft.com
Navigated to 'Documents Maintenance' page
--- 18 Jun 09:35:07 124 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 18 Jun 09:35:07 125 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:35:10 238 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 18 Jun 09:35:10 239 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:35:10 331 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> id: selectfiles]
--- 18 Jun 09:35:13 448 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 18 Jun 09:35:13 449 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:35:13 525 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> css selector: .header]
Clicked 'Upload Documents' button
--- 18 Jun 09:35:16 778 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 18 Jun 09:35:16 779 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:35:20 024 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 18 Jun 09:35:20 025 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
Selected Dictionary : XPLN
--- 18 Jun 09:35:23 195 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> 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:35:26 641 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 18 Jun 09:35:26 641 - 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:35:26 842 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> 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:35:37 426 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> id: UploadFileList]
--- 18 Jun 09:35:37 509 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> css selector: .btn .icon-upload]
--- 18 Jun 09:36:17 154 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> 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:36:31 894 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> link text: Continue]
--- 18 Jun 09:36:38 484 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 18 Jun 09:36:38 485 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:36:38 565 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> id: btnUpload]
--- 18 Jun 09:36:41 727 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 18 Jun 09:36:41 728 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:36:41 807 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> css selector: .header]
Clicked Continue button
--- 18 Jun 09:36:41 892 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> xpath: //a[text()='Reporting']]
--- 18 Jun 09:36:49 727 - Page URL:: https://esignplusqa.immesign.com/teaasp/report?id=errordetails
--- 18 Jun 09:36:49 728 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:36:49 809 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> id: immPageTitle]
--- 18 Jun 09:36:52 921 - Page URL:: https://esignplusqa.immesign.com/teaasp/report?id=errordetails
--- 18 Jun 09:36:52 921 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 18 Jun 09:36:53 011 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> css selector: .header]
--- 18 Jun 09:36:53 098 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> id: txtErrorCode]
--- 18 Jun 09:36:53 718 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> id: btnSearch]
--- 18 Jun 09:36:55 950 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (db3ffcdd1a8ba63160e459c319cc858f)] -> 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]