com.imm.testscripts.RemoteAttachments.RemoteAttachments
VerifyRemoteAttachmentTemplatePagePerformance
(, chrome_Windows 10)
org.openqa.selenium.json.JsonException: java.lang.reflect.InvocationTargetException
Build info: version: '4.7.1', revision: 'c6795baf1a3'
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '23'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [8e5d2d5e0ff460638d5c830c613b5b50, actions {actions=[org.openqa.selenium.interactions.Sequence@776e4088]}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 129.0.6668.90, chrome: {chromedriverVersion: 128.0.6613.84 (606aa55c7d68..., userDataDir: C:\Users\anomau\AppData\Loc...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:65471}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: Windows 10, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://10.0.2.31:4444/session..., se:cdpVersion: 129.0.6668.90, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: 8e5d2d5e0ff460638d5c830c613b5b50
at org.openqa.selenium.json.JsonOutput.convertUsingMethod(JsonOutput.java:362)
at org.openqa.selenium.json.JsonOutput.lambda$new$16(JsonOutput.java:154)
at org.openqa.selenium.json.JsonOutput.write(JsonOutput.java:287)
at org.openqa.selenium.json.JsonOutput.lambda$new$22(JsonOutput.java:169)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:636)
at org.openqa.selenium.json.JsonOutput.lambda$new$23(JsonOutput.java:169)
at org.openqa.selenium.json.JsonOutput.write(JsonOutput.java:287)
at org.openqa.selenium.json.JsonOutput.lambda$new$24(JsonOutput.java:182)
at com.google.common.collect.SingletonImmutableBiMap.forEach(SingletonImmutableBiMap.java:68)
at org.openqa.selenium.json.JsonOutput.lambda$new$25(JsonOutput.java:177)
at org.openqa.selenium.json.JsonOutput.write(JsonOutput.java:287)
at org.openqa.selenium.json.JsonOutput.write(JsonOutput.java:278)
at org.openqa.selenium.json.Json.toJson(Json.java:42)
at org.openqa.selenium.remote.codec.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:259)
at org.openqa.selenium.remote.codec.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:122)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:172)
at org.openqa.selenium.remote.TracedCommandExecutor.execute(TracedCommandExecutor.java:51)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:551)
at org.openqa.selenium.remote.RemoteWebDriver.perform(RemoteWebDriver.java:619)
at org.openqa.selenium.interactions.Actions$BuiltAction.perform(Actions.java:567)
at com.imm.support.BrowserActions.clickOnElementDisplayed(BrowserActions.java:283)
at com.imm.pages.RemoteAttachmentTemplateMaintenancePage.addMultipleNewTemplates(RemoteAttachmentTemplateMaintenancePage.java:489)
at com.imm.testscripts.RemoteAttachments.RemoteAttachments.VerifyRemoteAttachmentTemplatePagePerformance(RemoteAttachments.java:636)
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)
Suppressed: org.openqa.selenium.json.JsonException: Attempting to close incomplete json stream
Build info: version: '4.7.1', revision: 'c6795baf1a3'
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '23'
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.json.JsonOutput.close(JsonOutput.java:303)
at org.openqa.selenium.json.Json.toJson(Json.java:40)
... 36 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.openqa.selenium.json.JsonOutput.convertUsingMethod(JsonOutput.java:358)
... 57 more
Caused by: org.openqa.selenium.NoSuchElementException: Timed out after 2 seconds. Unable to locate the element
at org.openqa.selenium.support.pagefactory.AjaxElementLocator.findElement(AjaxElementLocator.java:99)
at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:39)
at jdk.proxy2/jdk.proxy2.$Proxy25.getWrappedElement(Unknown Source)
at org.openqa.selenium.interactions.PointerInput$Origin.asArg(PointerInput.java:260)
at org.openqa.selenium.interactions.PointerInput$Move.encode(PointerInput.java:209)
at org.openqa.selenium.interactions.Sequence.encode(Sequence.java:73)
at org.openqa.selenium.interactions.Sequence.toJson(Sequence.java:82)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
... 59 more
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//body/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/input"}
(Session info: chrome=129.0.6668.90)
For documentation on this error, please visit: https://selenium.dev/exceptions/#no_such_element
Build info: version: '4.7.1', revision: 'c6795baf1a3'
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '23'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [8e5d2d5e0ff460638d5c830c613b5b50, findElement {using=xpath, value=//body/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/input}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 129.0.6668.90, chrome: {chromedriverVersion: 128.0.6613.84 (606aa55c7d68..., userDataDir: C:\Users\anomau\AppData\Loc...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:65471}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: Windows 10, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://10.0.2.31:4444/session..., se:cdpVersion: 129.0.6668.90, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: 8e5d2d5e0ff460638d5c830c613b5b50
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:501)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:485)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:53)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
at org.openqa.selenium.remote.TracedCommandExecutor.execute(TracedCommandExecutor.java:51)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:551)
at org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:162)
at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:60)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:367)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:359)
at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:70)
at org.openqa.selenium.support.pagefactory.AjaxElementLocator.access$001(AjaxElementLocator.java:39)
at org.openqa.selenium.support.pagefactory.AjaxElementLocator$SlowLoadingElement.isLoaded(AjaxElementLocator.java:165)
at org.openqa.selenium.support.ui.SlowLoadableComponent.get(SlowLoadableComponent.java:72)
at org.openqa.selenium.support.pagefactory.AjaxElementLocator.findElement(AjaxElementLocator.java:95)
... 66 more
(verify remote attachment template page performance)
C:\Users\anomau\AppData\Local\Temp\testng-eclipse-203492587\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.RemoteAttachments.RemoteAttachments">
<methods>
<include name="VerifyRemoteAttachmentTemplatePagePerformance"/>
</methods>
</class> <!-- com.imm.testscripts.RemoteAttachments.RemoteAttachments -->
</classes>
</test> <!-- Default test -->
</suite> <!-- IMM_Esign_Chrome -->
Tests for IMM_Esign_Chrome
- Default test (1 class)
Groups for IMM_Esign_Chrome
P1
VerifyRemoteAttachmentTemplatePagePerformance
RemoteAttachments
VerifyRemoteAttachmentTemplatePagePerformance
Smoke
VerifyRemoteAttachmentTemplatePagePerformance
Times for IMM_Esign_Chrome
Total running time: 1 minutes
Reporter output for IMM_Esign_Chrome
VerifyRemoteAttachmentTemplatePagePerformance(, chrome_Windows 10)
java.lang.reflect.InvocationTargetException [ScreenShot]
--- 08 Oct 16:07:23 373 - TestCaseID:: VerifyRemoteAttachmentTemplatePagePerformance
--- 08 Oct 16:07:26 284 - 2 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:522)
Verify Request Remote Attachment page performance
Steps:
--- 08 Oct 16:07:27 535 - Page URL:: https://esignplusqa.immesign.com/teaasp/login.aspx
--- 08 Oct 16:07:27 536 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 08 Oct 16:07:54 541 - Unable to find an element after 10 sec ==> Proxy element for: AjaxElementLocator 'By.id: idSIButton9'
--- 08 Oct 16:07:54 605 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: btnSubmit]
--- 08 Oct 16:07:54 666 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 08 Oct 16:07:54 722 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 08 Oct 16:08:00 134 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: btnSubmit]
--- 08 Oct 16:08:01 158 - 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_tybdxrtmfca3tlpxuvbh_h6emdguf0od3behhwadainmy1immskcxywhetnrssgyob4ttfoadmp30mj0bie3ets3m8lnfkmhmisb6uqsl6t2pimvttlg2tpjaspdxqrarnmxedaifo1gtha07snulyfyljdiandbdqb20rpiecz0_z_qnfenehuted_ihkaogfyxtmen5zamtshpyp1mq&response_mode=form_post&nonce=638640004803366855.yzuznjnhngutngy0yi00ywjklwiznmqtn2zjzjjly2yzmdmyotg3yjc2mzmtnwfios00zdziltk2mzqtytnkymuwmgfjnzk1&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
--- 08 Oct 16:08:01 159 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 08 Oct 16:08:10 706 - Unable to find an element after 3 sec ==> Proxy element for: AjaxElementLocator 'By.id: btnSubmit'
--- 08 Oct 16:08:15 029 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.id: ErrorSummaryHeader'
--- 08 Oct 16:08:15 087 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: lightbox]
--- 08 Oct 16:08:15 143 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: i0116]
--- 08 Oct 16:08:15 186 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: i0116]
--- 08 Oct 16:08:20 470 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: idSIButton9]
--- 08 Oct 16:08:21 209 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: i0118]
--- 08 Oct 16:08:26 931 - Page URL:: https://login.microsoftonline.com/common/login
--- 08 Oct 16:08:26 931 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 08 Oct 16:08:26 989 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: lightbox]
--- 08 Oct 16:08:27 388 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: idSIButton9]
--- 08 Oct 16:08:29 088 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 08 Oct 16:08:29 089 - 1 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 08 Oct 16:08:29 144 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: btnUpload]
--- 08 Oct 16:08:29 268 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 08 Oct 16:08:29 268 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 08 Oct 16:08:29 350 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> css selector: .header]
--- 08 Oct 16:08:29 411 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> xpath: //a[text()='Administration']]
--- 08 Oct 16:08:31 483 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> xpath: //a[text()='Administration']]
--- 08 Oct 16:08:37 105 - Page URL:: https://esignplusqa.immesign.com/teaasp/templateremoteattachment/index
--- 08 Oct 16:08:37 105 - 1 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 08 Oct 16:08:37 155 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: Page-RemoteAttachmentTemplateMaintenance-ImmLeftPanelSearchForm-TemplateName-itemIndex_0]
--- 08 Oct 16:08:37 226 - Page URL:: https://esignplusqa.immesign.com/teaasp/templateremoteattachment/index
--- 08 Oct 16:08:37 227 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 08 Oct 16:08:37 298 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> css selector: .header]
--- 08 Oct 16:08:41 622 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.id: lbl-Page-RemoteAttachmentTemplateMaintenance-GlobalControl-SelectAll'
--- 08 Oct 16:08:41 676 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: Page-RemoteAttachmentTemplateMaintenance-MainArea-TemplateRemoteAttachmentList-TemplateItemData-itemIndex_0-DeleteListItem]
--- 08 Oct 16:08:41 723 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: Page-RemoteAttachmentTemplateMaintenance-MainArea-TemplateRemoteAttachmentList-TemplateItemData-itemIndex_0-DeleteListItem]
--- 08 Oct 16:08:42 458 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (8e5d2d5e0ff460638d5c830c613b5b50)] -> id: Page-RemoteAttachmentTemplateMaintenance-GlobalButton-AddNewItem]
--- 08 Oct 16:08:46 949 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.xpath: //body/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/input'
java.lang.reflect.InvocationTargetException [ScreenShot]
4 ignored methods
com.imm.testscripts.RemoteAttachments.RemoteAttachments
VerifyRequestAttachmentContainsPlatformSpecificTemplates
VerifyRequestRemoteAttachmentTemplateUI
verifyRequestRemoteAttachmentTemplateUIxml
VerifyRequestRemoteAttachmentTemplateUICancel
VerifyRequestRemoteAttachmentTemplateUI
verifyRequestRemoteAttachmentTemplateUIxml
VerifyRequestRemoteAttachmentTemplateUICancel
Methods in chronological order
com.imm.testscripts.RemoteAttachments.RemoteAttachments
initialize(org.testng.TestRunner@2c63f1fe)
0 ms
init(org.testng.TestRunner@2c63f1fe)
22352 ms
VerifyRemoteAttachmentTemplatePagePerformance(, chrome_Windows 10)
25413 ms