com.imm.testscripts.ConfiguringFI.ConfiguringFI
verifyEditingUploadedDocument
(, 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.isDisplayed(Unknown Source)
at com.imm.pages.UploadDocumentsPage.clickUploadButton(UploadDocumentsPage.java:271)
at com.imm.testscripts.ConfiguringFI.ConfiguringFI.verifyEditingUploadedDocument(ConfiguringFI.java:254)
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":"css selector","selector":"div.col-sm-3.paddingR-off.text-right > button:nth-child(2)"}
(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: [f1e1b559a346647f243a614940e1679e, findElement {using=css selector, value=div.col-sm-3.paddingR-off.text-right > button:nth-child(2)}]
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:51768}, 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: f1e1b559a346647f243a614940e1679e
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)
... 32 more
(Login as FI Admin and verify editing an uploaded document)
C:\Users\anomau\AppData\Local\Temp\testng-eclipse-1920844847\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="verifyEditingUploadedDocument"/>
</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
verifyEditingUploadedDocument
P1
verifyEditingUploadedDocument
Smoke
verifyEditingUploadedDocument
Times for IMM_Esign_Chrome
Total running time: 2 minutes
Reporter output for IMM_Esign_Chrome
verifyEditingUploadedDocument(, chrome_Windows 10)
Timed out after 2 seconds. Unable to locate the element [ScreenShot]
--- 03 Oct 13:16:26 871 - TestCaseID:: verifyEditingUploadedDocument
--- 03 Oct 13:16:37 322 - 10 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:522)
Login as FI Admin and verify editing an uploaded document
Steps:
--- 03 Oct 13:16:39 182 - Page URL:: https://esignplusqa.immesign.com/teaasp/login.aspx
--- 03 Oct 13:16:39 183 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 03 Oct 13:17:06 428 - Unable to find an element after 10 sec ==> Proxy element for: AjaxElementLocator 'By.id: idSIButton9'
--- 03 Oct 13:17:06 540 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: btnSubmit]
--- 03 Oct 13:17:06 627 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 03 Oct 13:17:06 695 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 03 Oct 13:17:12 379 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: btnSubmit]
--- 03 Oct 13:17:13 969 - 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%3djfd2youcke4lnjqmdhfcx5yvzo74e1fvzlaeapdfxq26rvqn1qpmick2i5l99jx0evzowuxtqp9vh__kuzsns0jxyy6c4hohndmdzilox7u7sqwmrzkjxytzo6m2juziqqb_onluukkckwfl6vdouhfrlhub4bvg5b3fkgo6hpq5cnlb7sm5w_mo9t7duqae84wavptztdhqxajjq0vejw&response_mode=form_post&nonce=638635582326071117.y2uwyzmxzditymjkmi00nzu4ltk2ngqtzwm3nwizmze1ntewmdq4zwrlztatmtqyyi00ntgylwjizdytyzdjotjmmjkzywmx&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
--- 03 Oct 13:17:13 971 - 1 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 03 Oct 13:17:23 681 - Unable to find an element after 3 sec ==> Proxy element for: AjaxElementLocator 'By.id: btnSubmit'
--- 03 Oct 13:17:28 035 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.id: ErrorSummaryHeader'
--- 03 Oct 13:17:28 110 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: lightbox]
--- 03 Oct 13:17:28 190 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: i0116]
--- 03 Oct 13:17:28 258 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: i0116]
--- 03 Oct 13:17:33 598 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: idSIButton9]
--- 03 Oct 13:17:34 388 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: i0118]
--- 03 Oct 13:17:40 221 - Page URL:: https://login.microsoftonline.com/common/login
--- 03 Oct 13:17:40 221 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 03 Oct 13:17:40 296 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: lightbox]
--- 03 Oct 13:17:40 713 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: idSIButton9]
--- 03 Oct 13:17:43 327 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 03 Oct 13:17:43 328 - 2 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 03 Oct 13:17:43 449 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: btnUpload]
--- 03 Oct 13:17:43 607 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 03 Oct 13:17:43 607 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 03 Oct 13:17:43 749 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> css selector: .header]
--- 03 Oct 13:17:43 825 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> xpath: //a[text()='Administration']]
--- 03 Oct 13:17:45 922 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> xpath: //a[text()='Administration']]
--- 03 Oct 13:17:50 616 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 03 Oct 13:17:50 616 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 03 Oct 13:17:50 679 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: btnUpload]
--- 03 Oct 13:17:50 818 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 03 Oct 13:17:50 819 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 03 Oct 13:17:50 904 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> css selector: .header]
--- 03 Oct 13:17:50 968 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: btnUpload]
--- 03 Oct 13:17:52 740 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 03 Oct 13:17:52 740 - 1 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 03 Oct 13:17:52 816 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 03 Oct 13:17:52 817 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 03 Oct 13:17:52 881 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: selectfiles]
--- 03 Oct 13:17:52 978 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 03 Oct 13:17:52 978 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 03 Oct 13:17:53 072 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> css selector: .header]
--- 03 Oct 13:17:53 310 - Page URL:: https://esignplusqa.immesign.com/teaasp/uploaddocuments
--- 03 Oct 13:17:53 311 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 03 Oct 13:17:56 481 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: UploadFileList]
--- 03 Oct 13:17:56 601 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: UploadFileList]
--- 03 Oct 13:17:56 733 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: UploadFileList]
--- 03 Oct 13:17:56 853 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: UploadFileList]
--- 03 Oct 13:17:56 980 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: UploadFileList]
--- 03 Oct 13:17:57 095 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: UploadFileList]
--- 03 Oct 13:17:57 215 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: UploadFileList]
--- 03 Oct 13:17:57 351 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: UploadFileList]
--- 03 Oct 13:17:57 471 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: UploadFileList]
--- 03 Oct 13:17:57 582 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> id: UploadFileList]
--- 03 Oct 13:17:57 638 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> css selector: .btn .icon-upload]
--- 03 Oct 13:17:59 771 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> css selector: .btn .icon-upload]
--- 03 Oct 13:18:04 389 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.linkText: Continue'
--- 03 Oct 13:18:08 880 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.linkText: Continue'
--- 03 Oct 13:18:13 323 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.linkText: Continue'
--- 03 Oct 13:18:17 885 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.linkText: Continue'
--- 03 Oct 13:18:22 330 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.linkText: Continue'
--- 03 Oct 13:18:26 772 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.linkText: Continue'
--- 03 Oct 13:18:31 224 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.linkText: Continue'
--- 03 Oct 13:18:35 651 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.linkText: Continue'
--- 03 Oct 13:18:40 091 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.linkText: Continue'
--- 03 Oct 13:18:44 494 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.linkText: Continue'
--- 03 Oct 13:18:46 791 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f1e1b559a346647f243a614940e1679e)] -> link text: Continue]
Timed out after 2 seconds. Unable to locate the element [ScreenShot]
12 ignored methods
com.imm.testscripts.ConfiguringFI.ConfiguringFI
uploadDocsBySelectingFilesAndDelete
editExistingDocument
deleteDocSet
verifyDefiningAttachments
verifyExportBtnInDocSetsMaintenancePage
verifyUploadDocuments
uploadDocsByDragAndDrop
verifyExportBtnInDocsMaintenanceXMLPage
verifyDeletingAnSelectedDocument
editExistingDocumentUpdateKeepUnlockField
createDocSet
criteriaMaintenance
editExistingDocument
deleteDocSet
verifyDefiningAttachments
verifyExportBtnInDocSetsMaintenancePage
verifyUploadDocuments
uploadDocsByDragAndDrop
verifyExportBtnInDocsMaintenanceXMLPage
verifyDeletingAnSelectedDocument
editExistingDocumentUpdateKeepUnlockField
createDocSet
criteriaMaintenance
Methods in chronological order
com.imm.testscripts.ConfiguringFI.ConfiguringFI
initialize(org.testng.TestRunner@644a12be)
0 ms
init(org.testng.TestRunner@644a12be)
26289 ms
verifyEditingUploadedDocument(, chrome_Windows 10)
37151 ms