com.imm.testscripts.ConfiguringFI.ConfiguringFI
uploadDocsByDragAndDrop
({Description=Upload document by drag and drop, FI=AutoTestFI, Condition_Edit=, DocumentName_Edit=, SearchKeyword=, TestID=uploadDocsByDragAndDrop, docset_doc2=, docset_doc1=, filepath=src/main/resources/testdata/files/configuringfi, DocumentDescription_Edit=, PartiesToView=, FieldNametoSearch=, CriteriaName=, Template_Description=, DocumentName=, Password=, DictionaryOption=MSP, Condition=, CriteriaName_Edit=, Criteria_Description_Edit=, Template_Name=, KeepUnlock=, SearchDictionary=, Criteria_Description=, Template_Platform=, DocumentDescription=, Username=})
java.lang.ClassCastException: class jdk.proxy2.$Proxy22 cannot be cast to class org.openqa.selenium.remote.RemoteWebElement (jdk.proxy2.$Proxy22 is in module jdk.proxy2 of loader 'app'; org.openqa.selenium.remote.RemoteWebElement is in unnamed module of loader 'app')
at com.imm.pages.UploadDocumentsPage.dragAndDropFile(UploadDocumentsPage.java:156)
at com.imm.testscripts.ConfiguringFI.ConfiguringFI.uploadDocsByDragAndDrop(ConfiguringFI.java:68)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.testng.TestRunner.privateRun(TestRunner.java:794)
at org.testng.TestRunner.run(TestRunner.java:596)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:377)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:371)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:332)
at org.testng.SuiteRunner.run(SuiteRunner.java:276)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1212)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1134)
at org.testng.TestNG.runSuites(TestNG.java:1063)
at org.testng.TestNG.run(TestNG.java:1031)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
(Upload documents by drag and drop)
C:\Users\sa_chintan.choksi\AppData\Local\Temp\testng-eclipse-1164121675\testng-customsuite.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite thread-count="500" name="IMM_Esign_Chrome" guice-stage="DEVELOPMENT" verbose="3">
<parameter name="webSite" value="https://esignplusqa.immesign.com/TEAASP/login.aspx"/>
<parameter name="projectKey" value="ESPC"/>
<parameter name="deviceHost" value="localhost"/>
<parameter name="sessionUrl" value="https://esignplusqa.immesign.com/teaasp/hostdispatch.aspx?hostid=XP&hsfiid=autoesign&XMLData=D:\Automation_DataFiles\PrimarySpouse.xml"/>
<parameter name="devicePort" value="4444"/>
<parameter name="browserName" value="chrome_windows"/>
<test thread-count="500" name="Default test" verbose="2">
<classes>
<class name="com.imm.testscripts.ConfiguringFI.ConfiguringFI">
<methods>
<include name="uploadDocsByDragAndDrop"/>
</methods>
</class> <!-- com.imm.testscripts.ConfiguringFI.ConfiguringFI -->
</classes>
</test> <!-- Default test -->
</suite> <!-- IMM_Esign_Chrome -->
Tests for IMM_Esign_Chrome
- Default test (1 class)
Groups for IMM_Esign_Chrome
ConfiguringFI
uploadDocsByDragAndDrop
P1
uploadDocsByDragAndDrop
Smoke
uploadDocsByDragAndDrop
Times for IMM_Esign_Chrome
Total running time: 1 minutes
Reporter output for IMM_Esign_Chrome
uploadDocsByDragAndDrop({Description=Upload document by drag and drop, FI=AutoTestFI, Condition_Edit=, DocumentName_Edit=, S...)
class jdk.proxy2.$Proxy22 cannot be cast to class org.openqa.selenium.remote.RemoteWebElement (jdk.proxy2.$Proxy22 is in module jdk.proxy2 of loader 'app'; org.openqa.selenium.remote.RemoteWebElement is in unnamed module of loader 'app') [ScreenShot]
--- 13 Feb 13:00:43 244 - TestCaseID:: uploadDocsByDragAndDrop
--- 13 Feb 13:00:47 914 - 4 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:561)
Upload document by drag and drop
Steps:
--- 13 Feb 13:00:58 039 - Page URL:: https://esignplusqa.immesign.com/teaasp/login.aspx
--- 13 Feb 13:00:58 039 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 13 Feb 13:00:58 299 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> id: btnSubmit]
--- 13 Feb 13:00:58 408 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 13 Feb 13:00:59 387 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> id: btnSubmit]
--- 13 Feb 13:01:22 130 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> id: lightbox]
--- 13 Feb 13:01:22 226 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> id: i0116]
--- 13 Feb 13:01:22 907 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> id: idSIButton9]
--- 13 Feb 13:01:29 939 - Page URL:: https://login.microsoftonline.com/common/login
--- 13 Feb 13:01:29 940 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 13 Feb 13:01:30 021 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> id: lightbox]
--- 13 Feb 13:01:30 095 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> id: idSIButton9]
--- 13 Feb 13:01:39 070 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 13 Feb 13:01:39 070 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 13 Feb 13:01:39 154 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> id: btnUpload]
--- 13 Feb 13:01:42 772 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 13 Feb 13:01:42 773 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 13 Feb 13:01:42 854 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> css selector: .header]
--- 13 Feb 13:01:42 936 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> xpath: //a[text()='Administration']]
--- 13 Feb 13:01:49 935 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 13 Feb 13:01:49 935 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 13 Feb 13:01:50 010 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> id: btnUpload]
--- 13 Feb 13:01:53 208 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 13 Feb 13:01:53 208 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 13 Feb 13:01:53 282 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> css selector: .header]
--- 13 Feb 13:02:00 437 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 13 Feb 13:02:00 437 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 13 Feb 13:02:03 550 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 13 Feb 13:02:03 550 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 13 Feb 13:02:03 634 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> id: selectfiles]
--- 13 Feb 13:02:06 755 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 13 Feb 13:02:06 755 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 13 Feb 13:02:06 832 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (27d1f7827298185cf309f224f23abcf6)] -> css selector: .header]
--- 13 Feb 13:02:10 035 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 13 Feb 13:02:10 035 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
class jdk.proxy2.$Proxy22 cannot be cast to class org.openqa.selenium.remote.RemoteWebElement (jdk.proxy2.$Proxy22 is in module jdk.proxy2 of loader 'app'; org.openqa.selenium.remote.RemoteWebElement is in unnamed module of loader 'app') [ScreenShot]
13 ignored methods
com.imm.testscripts.ConfiguringFI.ConfiguringFI
editExistingDocument
deleteDocSet
verifyExportBtnInDocSetsMaintenancePage
verifyUploadDocuments
verifyExportBtnInDocsMaintenanceXMLPage
verifyDeletingAnSelectedDocument
VerifyArchiveOptionsforDocumentMaintenanceXML
criteriaMaintenance
uploadDocsBySelectingFilesAndDelete
verifyDefiningAttachments
editExistingDocumentUpdateKeepUnlockField
createDocSet
verifyEditingUploadedDocument
deleteDocSet
verifyExportBtnInDocSetsMaintenancePage
verifyUploadDocuments
verifyExportBtnInDocsMaintenanceXMLPage
verifyDeletingAnSelectedDocument
VerifyArchiveOptionsforDocumentMaintenanceXML
criteriaMaintenance
uploadDocsBySelectingFilesAndDelete
verifyDefiningAttachments
editExistingDocumentUpdateKeepUnlockField
createDocSet
verifyEditingUploadedDocument
Methods in chronological order
com.imm.testscripts.ConfiguringFI.ConfiguringFI
initialize(org.testng.TestRunner@726ef6aa)
0 ms
init(org.testng.TestRunner@726ef6aa)
10179 ms
uploadDocsByDragAndDrop({Description=Upload document by drag and drop, FI=AutoTestFI, Condition_Edit=, DocumentName_Edit=, S...)
15106 ms