com.imm.testscripts.ConfiguringFI.ConfiguringFI
editExistingDocument
(, chrome_Windows 10)
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 com.sun.proxy.$Proxy21.getWrappedElement(Unknown Source)
at org.openqa.selenium.remote.internal.WebElementToJsonConverter.apply(WebElementToJsonConverter.java:51)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:485)
at com.imm.support.BrowserActions.scrollToView(BrowserActions.java:194)
at com.imm.pages.header.Header.logoutFromApplication(Header.java:186)
at com.imm.testscripts.ConfiguringFI.ConfiguringFI.editExistingDocument(ConfiguringFI.java:946)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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.util.ArrayList.forEach(ArrayList.java:1257)
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: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id='mnu_Logout']"}
(Session info: chrome=129.0.6668.71)
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: '1.8.0_181'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [a836be401dc3ec38c97d5437b2bea11e, findElement {using=xpath, value=//*[@id='mnu_Logout']}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 129.0.6668.71, chrome: {chromedriverVersion: 128.0.6613.84 (606aa55c7d68..., userDataDir: C:\Users\anomau\AppData\Loc...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:65455}, 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.71, 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: a836be401dc3ec38c97d5437b2bea11e
at sun.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
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)
... 42 more
(Editing Existing Document)
C:\Users\anomau\AppData\Local\Temp\testng-eclipse--1833469615\testng-customsuite.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite thread-count="500" guice-stage="DEVELOPMENT" verbose="3" name="IMM_Esign_Chrome">
<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" verbose="2" name="Default test">
<classes>
<class name="com.imm.testscripts.ConfiguringFI.ConfiguringFI">
<methods>
<include name="editExistingDocument"/>
</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
editExistingDocument
P1
editExistingDocument
Smoke
editExistingDocument
Times for IMM_Esign_Chrome
Total running time: 1 minutes
Reporter output for IMM_Esign_Chrome
editExistingDocument(, chrome_Windows 10)
Timed out after 2 seconds. Unable to locate the element [ScreenShot]
--- 01 Oct 17:23:14 900 - TestCaseID:: editExistingDocument
--- 01 Oct 17:23:18 471 - 3 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:522)
Login as FIAdmin and verify editing an existing defined attachment
Steps:
--- 01 Oct 17:23:19 996 - Page URL:: https://esignplusqa.immesign.com/teaasp/login.aspx
--- 01 Oct 17:23:19 996 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 17:23:47 271 - Unable to find an element after 10 sec ==> Proxy element for: AjaxElementLocator 'By.id: idSIButton9'
--- 01 Oct 17:23:47 360 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> id: btnSubmit]
--- 01 Oct 17:23:47 438 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 01 Oct 17:23:47 502 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 01 Oct 17:23:52 963 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> id: btnSubmit]
--- 01 Oct 17:23:54 161 - 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%3duzjllnneehalzohglfo9qwiwt29ypvjqzhrsehk9khqapbwjssyhhsj8qeris1n4gbbpvlx-exjhcklhbhuxul9feqshdgp6plca5rexiue5dvz8qun7j-ffvyw87zxaenosovq88e4j7v4xzdytrcjdwnnw6n1brz3_a8rcvb_jbh9hwpdmggtrvkailgwcydq8ismyctnlghmnrn9-2q&response_mode=form_post&nonce=638634002331893659.mwnkoguxyzgtzjjims00zgmxltlhowutmjk1n2u1zgzlmgizy2zhmtc1odktztjlyy00nta0ltg2otitzjflmtg2zdvizjhi&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
--- 01 Oct 17:23:54 162 - 1 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 17:24:03 800 - Unable to find an element after 3 sec ==> Proxy element for: AjaxElementLocator 'By.id: btnSubmit'
--- 01 Oct 17:24:08 166 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.id: ErrorSummaryHeader'
--- 01 Oct 17:24:08 241 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> id: lightbox]
--- 01 Oct 17:24:08 308 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> id: i0116]
--- 01 Oct 17:24:08 372 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> id: i0116]
--- 01 Oct 17:24:13 700 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> id: idSIButton9]
--- 01 Oct 17:24:14 482 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> id: i0118]
--- 01 Oct 17:24:20 304 - Page URL:: https://login.microsoftonline.com/common/login
--- 01 Oct 17:24:20 305 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 17:24:20 373 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> id: lightbox]
--- 01 Oct 17:24:20 777 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> id: idSIButton9]
--- 01 Oct 17:24:22 741 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 01 Oct 17:24:22 742 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 17:24:22 812 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> id: btnUpload]
--- 01 Oct 17:24:22 958 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 01 Oct 17:24:22 958 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 17:24:23 059 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> css selector: .header]
--- 01 Oct 17:24:25 394 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 01 Oct 17:24:25 395 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 17:24:25 513 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a836be401dc3ec38c97d5437b2bea11e)] -> id: ctl00_cph1_TxtSearch]
--- 01 Oct 17:24:34 143 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 01 Oct 17:24:34 144 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 17:24:48 730 - Unable to find a element after 12 sec ==> Proxy element for: AjaxElementLocator 'By.xpath: //*[@id='mnu_Logout']'
Timed out after 2 seconds. Unable to locate the element [ScreenShot]
12 ignored methods
com.imm.testscripts.ConfiguringFI.ConfiguringFI
uploadDocsBySelectingFilesAndDelete
deleteDocSet
verifyDefiningAttachments
verifyExportBtnInDocSetsMaintenancePage
verifyUploadDocuments
uploadDocsByDragAndDrop
verifyExportBtnInDocsMaintenanceXMLPage
verifyDeletingAnSelectedDocument
editExistingDocumentUpdateKeepUnlockField
createDocSet
verifyEditingUploadedDocument
criteriaMaintenance
deleteDocSet
verifyDefiningAttachments
verifyExportBtnInDocSetsMaintenancePage
verifyUploadDocuments
uploadDocsByDragAndDrop
verifyExportBtnInDocsMaintenanceXMLPage
verifyDeletingAnSelectedDocument
editExistingDocumentUpdateKeepUnlockField
createDocSet
verifyEditingUploadedDocument
criteriaMaintenance
Methods in chronological order
com.imm.testscripts.ConfiguringFI.ConfiguringFI
initialize(org.testng.TestRunner@34e4a136)
0 ms
init(org.testng.TestRunner@34e4a136)
22245 ms
editExistingDocument(, chrome_Windows 10)
26198 ms