com.imm.testscripts.AdobeOEM.AdobeOEM
verifyCreatingWebForms
({Group=, FI_Name=PlusOEM, Description=verifyCreatingWebForms- Role- Acceptor, Email=anoma.premalal@kinective.io, Platform=, Message=Adhoc Docs, RemoteSettings=, User_Password=iMM@2025, Admin1_UserId=, RemoteFeature=, Local_AdDomain=, Filepath=src/main/resources/testdata/files/AdobeOEM/513BA.pdf, User_Type=, Name=Anoma User, Admin1_LName=, TestID=verifyCreatingWebForms, FItype=, Required=, AgreementName=Remote Sign Document, AZ_DomainName=, Az_GlobAdmin=, TextField=, Document Names=513BA.pdf, Session URL=, ParticipantRole=acceptor, Path=src/main/resources/testdata/files/DocumentExport.Zip, Admin1_FName=, New Column=, User_Name=anoma@immtestcu.onmicrosoft.com, NumOfAttachments=, Checked=, Folderpath=srcmainresourcestestdatafilesAdobeOEM, ClientID=, Key=})
java.lang.Exception: Failed to select Participant Role
at com.imm.pages.AdobeCreateWebFormPage.selectParticipantRole(AdobeCreateWebFormPage.java:273)
at com.imm.testscripts.AdobeOEM.AdobeOEM.verifyCreatingWebForms(AdobeOEM.java:1148)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
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:1597)
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)
Caused by: java.lang.IndexOutOfBoundsException: Index 2 out of bounds for length 2
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
at java.base/java.util.Objects.checkIndex(Objects.java:365)
at java.base/java.util.ArrayList.get(ArrayList.java:428)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.openqa.selenium.support.pagefactory.internal.LocatingElementListHandler.invoke(LocatingElementListHandler.java:40)
at jdk.proxy2/jdk.proxy2.$Proxy39.get(Unknown Source)
at com.imm.pages.AdobeCreateWebFormPage.selectParticipantRole(AdobeCreateWebFormPage.java:257)
... 27 more
(Verify creating Webforms)
com.imm.testscripts.AdobeOEM.AdobeOEM
verifyCreatingWebForms
({Group=, FI_Name=PlusOEM, Description=verifyCreatingWebForms- Role- Signer, Email=anoma.premalal@kinective.io, Platform=, Message=Adhoc Docs, RemoteSettings=, User_Password=iMM@2025, Admin1_UserId=, RemoteFeature=, Local_AdDomain=, Filepath=src/main/resources/testdata/files/AdobeOEM/513BA.pdf, User_Type=, Name=Anoma User, Admin1_LName=, TestID=verifyCreatingWebForms, FItype=, Required=, AgreementName=Remote Sign Document, AZ_DomainName=, Az_GlobAdmin=, TextField=, Document Names=513BA.pdf, Session URL=, ParticipantRole=Signer, Path=src/main/resources/testdata/files/DocumentExport.Zip, Admin1_FName=, New Column=, User_Name=anoma@immtestcu.onmicrosoft.com, NumOfAttachments=, Checked=, Folderpath=srcmainresourcestestdatafilesAdobeOEM, ClientID=, Key=})
(Verify creating Webforms)
C:\Users\anomau\AppData\Local\Temp\testng-eclipse--1346632275\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="SIGN"/>
<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.AdobeOEM.AdobeOEM">
<methods>
<include name="verifyCreatingWebForms"/>
</methods>
</class> <!-- com.imm.testscripts.AdobeOEM.AdobeOEM -->
</classes>
</test> <!-- Default test -->
</suite> <!-- IMM_Esign_Chrome -->
Tests for IMM_Esign_Chrome
- Default test (1 class)
Groups for IMM_Esign_Chrome
Adobe OEM
verifyCreatingWebForms
P1
verifyCreatingWebForms
Smoke
verifyCreatingWebForms
Times for IMM_Esign_Chrome
Total running time: 2 minutes
Reporter output for IMM_Esign_Chrome
verifyCreatingWebForms({Group=, FI_Name=PlusOEM, Description=verifyCreatingWebForms- Role- Signer, Email=anoma.premalal@kin...)
Successfully uploaded documents [ScreenShot]
Successfully displayed uploaded document name [ScreenShot]
Preview and Add Signature field check box is checked [ScreenShot]
Signature dropzone is displayed [ScreenShot]
Signature Right Pane is displayed [ScreenShot]
Signature field is displayed [ScreenShot]
Clicked on Recepient anoma.premalal@kinective.io [ScreenShot]
Signature field is displayed [ScreenShot]
Test Passed.
--- 09 Jul 13:25:43 030 - TestCaseID:: verifyCreatingWebForms
--- 09 Jul 13:25:50 537 - 7 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:558)
verifyCreatingWebForms- Role- Signer
Steps:
--- 09 Jul 13:25:56 693 - Page URL:: https://esignplusqa.immesign.com/teaasp/login.aspx
--- 09 Jul 13:25:56 694 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 09 Jul 13:25:57 077 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> xpath: //*[@id='btnSubmit']]
--- 09 Jul 13:25:57 218 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 09 Jul 13:25:58 525 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> xpath: //*[@id='btnSubmit']]
--- 09 Jul 13:26:01 726 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> id: idSIButton9]
--- 09 Jul 13:26:05 176 - 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%3doulva3yyjzfyusx5g47n0ssjsdfmh1su5umelic9v7agzvng3u3haac5ufulndsmt8pm80tzpsgjdl4niqmchhkvjfqqlhvibilsz3kismhpnr_zu0avjjvimklxujb8wfaw0i5krguwzinnzxvxcji-_-ohvppvtdqcau5mvoh-bwihimtu_hxxn0seehdl7dpwlxbyx71xlnjbnsrboq&response_mode=form_post&nonce=638876643588295712.ngu3mwfmm2ytoteyys00odjjltgyztytnje1ywnmmdq4ztcwmdg3nzi1zjytn2q3zi00ngu2lwe3ogmtmduwmtqxzgi0mmu2&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
--- 09 Jul 13:26:05 178 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 09 Jul 13:26:07 374 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> id: idSIButton9]
--- 09 Jul 13:26:11 255 - Page URL:: https://login.microsoftonline.com/common/login
--- 09 Jul 13:26:11 255 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 09 Jul 13:26:11 350 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> id: lightbox]
--- 09 Jul 13:26:11 452 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> id: idSIButton9]
--- 09 Jul 13:26:14 747 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 09 Jul 13:26:14 748 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 09 Jul 13:26:17 944 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 09 Jul 13:26:17 945 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 09 Jul 13:26:18 050 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> id: btnUpload]
--- 09 Jul 13:26:21 297 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 09 Jul 13:26:21 299 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 09 Jul 13:26:21 404 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> css selector: .header]
--- 09 Jul 13:26:21 530 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> xpath: //a[text()='Administration']]
--- 09 Jul 13:26:30 462 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> xpath: //span[contains(text(),'Web Form')]]
--- 09 Jul 13:26:36 720 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> id: fileListWrapper]
Successfully uploaded documents [ScreenShot]
--- 09 Jul 13:26:39 257 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> xpath: //div[@class='file-name']]
Successfully displayed uploaded document name [ScreenShot]
--- 09 Jul 13:26:39 525 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> xpath: //span[@id='preview-checkbox']/preceding-sibling::input]
Preview and Add Signature field check box is checked [ScreenShot]
--- 09 Jul 13:26:50 006 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> id: document]
Signature dropzone is displayed [ScreenShot]
--- 09 Jul 13:26:50 292 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> xpath: //div[@class='authoring-right-pane']]
Signature Right Pane is displayed [ScreenShot]
--- 09 Jul 13:26:57 569 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> xpath: //div[contains(text(),'Signature') and @class='item-label']/parent::div]
--- 09 Jul 13:26:57 651 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> id: document]
--- 09 Jul 13:26:58 124 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> xpath: //div[@class='input-overlay']]
Signature field is displayed [ScreenShot]
--- 09 Jul 13:26:58 788 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> xpath: //li[@class='roleOption ']/a]
Clicked on Recepient anoma.premalal@kinective.io [ScreenShot]
--- 09 Jul 13:27:06 457 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> xpath: //div[contains(text(),'Signature') and @class='item-label']/parent::div]
--- 09 Jul 13:27:06 539 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> id: document]
--- 09 Jul 13:27:07 019 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (142e3bac557854fae801efd78b347e62)] -> xpath: //div[@class='input-overlay']]
Signature field is displayed [ScreenShot]
Test Passed.
verifyCreatingWebForms({Group=, FI_Name=PlusOEM, Description=verifyCreatingWebForms- Role- Acceptor, Email=anoma.premalal@k...)
Failed to select Participant Role [ScreenShot]
--- 09 Jul 13:27:21 727 - TestCaseID:: verifyCreatingWebForms
--- 09 Jul 13:27:23 704 - 1 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:558)
verifyCreatingWebForms- Role- Acceptor
Steps:
--- 09 Jul 13:27:28 293 - Page URL:: https://esignplusqa.immesign.com/teaasp/login.aspx
--- 09 Jul 13:27:28 294 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 09 Jul 13:27:28 408 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (0c2fed93cdf158f015db10004bf5d9f5)] -> xpath: //*[@id='btnSubmit']]
--- 09 Jul 13:27:28 503 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (0c2fed93cdf158f015db10004bf5d9f5)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 09 Jul 13:27:29 326 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (0c2fed93cdf158f015db10004bf5d9f5)] -> xpath: //*[@id='btnSubmit']]
--- 09 Jul 13:27:31 770 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (0c2fed93cdf158f015db10004bf5d9f5)] -> id: idSIButton9]
--- 09 Jul 13:27:35 172 - 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%3d0bwxedzvismqynsunsb-ru5oaug2k0og81gnb_-o05mz5io_gtc9hifevhikbpks_lcwgwcqbmz75qmjnhbqtr7-fej5wizxs7rmks9jn9yie0w12v0u4esibfsgvrfwtfp7vg08s3kxepsurn-bafdadlyq5kefjxf5qcsjotxeujya1rtx00pof2qnmbaqgfryjl_478kh79pmtsj7sg&response_mode=form_post&nonce=638876644495326885.mti0yji5ogmtmwvimi00yjgyltkwmzitndeyowvizju5zgvlotfkzje4mdetmzq0yi00yjvkltllnwqtndc2zdfizwu5mzbi&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
--- 09 Jul 13:27:35 173 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 09 Jul 13:27:37 337 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (0c2fed93cdf158f015db10004bf5d9f5)] -> id: idSIButton9]
--- 09 Jul 13:27:41 228 - Page URL:: https://login.microsoftonline.com/common/login
--- 09 Jul 13:27:41 229 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 09 Jul 13:27:41 334 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (0c2fed93cdf158f015db10004bf5d9f5)] -> id: lightbox]
--- 09 Jul 13:27:41 436 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (0c2fed93cdf158f015db10004bf5d9f5)] -> id: idSIButton9]
--- 09 Jul 13:27:47 844 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 09 Jul 13:27:47 844 - 6 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 09 Jul 13:27:50 981 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 09 Jul 13:27:50 982 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 09 Jul 13:27:51 076 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (0c2fed93cdf158f015db10004bf5d9f5)] -> id: btnUpload]
--- 09 Jul 13:27:54 207 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 09 Jul 13:27:54 207 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 09 Jul 13:27:54 284 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (0c2fed93cdf158f015db10004bf5d9f5)] -> css selector: .header]
--- 09 Jul 13:27:54 372 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (0c2fed93cdf158f015db10004bf5d9f5)] -> xpath: //a[text()='Administration']]
--- 09 Jul 13:28:03 280 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 10 (0c2fed93cdf158f015db10004bf5d9f5)] -> xpath: //span[contains(text(),'Web Form')]]
Failed to select Participant Role [ScreenShot]
5 ignored methods
com.imm.testscripts.AdobeOEM.AdobeOEM
verifyGroupPermissionsforRemoteFeatures
verifyManageRemoteAgreements
CreateAdHocTransaction
verifyUserPermissionsforRemoteFeatures
verifyAdHocTransacionsAndManageLoginAsRecipient
verifyManageRemoteAgreements
CreateAdHocTransaction
verifyUserPermissionsforRemoteFeatures
verifyAdHocTransacionsAndManageLoginAsRecipient
Methods in chronological order
com.imm.testscripts.AdobeOEM.AdobeOEM
initialize(org.testng.TestRunner@3299cc9f)
0 ms
init(org.testng.TestRunner@3299cc9f)
11013 ms
verifyCreatingWebForms({Group=, FI_Name=PlusOEM, Description=verifyCreatingWebForms- Role- Signer, Email=anoma.premalal@kin...)
18954 ms
verifyCreatingWebForms({Group=, FI_Name=PlusOEM, Description=verifyCreatingWebForms- Role- Acceptor, Email=anoma.premalal@k...)
112126 ms