com.imm.testscripts.ConfiguringFI.ConfiguringFI
deleteDocSet
(, 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.findElements(Unknown Source)
at com.imm.pages.AddNewDocumentSetsPage.checkDocsListing(AddNewDocumentSetsPage.java:249)
at com.imm.testscripts.ConfiguringFI.ConfiguringFI.deleteDocSet(ConfiguringFI.java:628)
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":"#ctl00_cph1_dgDocumentSets"}
(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: [a9581bf4adaad686bc0c44f56dba626b, findElement {using=id, value=ctl00_cph1_dgDocumentSets}]
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:56593}, 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: a9581bf4adaad686bc0c44f56dba626b
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
(Delete a doc set)
C:\Users\anomau\AppData\Local\Temp\testng-eclipse--1047887559\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="deleteDocSet"/>
</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
deleteDocSet
P1
deleteDocSet
Smoke
deleteDocSet
Times for IMM_Esign_Chrome
Total running time: 5 minutes
Reporter output for IMM_Esign_Chrome
deleteDocSet(, chrome_Windows 10)
Timed out after 2 seconds. Unable to locate the element [ScreenShot]
--- 01 Oct 14:26:28 056 - TestCaseID:: deleteDocSet
--- 01 Oct 14:26:31 336 - 3 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:522)
Deleteing a doc set
Steps:
--- 01 Oct 14:26:32 872 - Page URL:: https://esignplusqa.immesign.com/teaasp/login.aspx
--- 01 Oct 14:26:32 873 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:27:00 087 - Unable to find an element after 10 sec ==> Proxy element for: AjaxElementLocator 'By.id: idSIButton9'
--- 01 Oct 14:27:00 171 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: btnSubmit]
--- 01 Oct 14:27:00 247 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 01 Oct 14:27:00 317 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 01 Oct 14:27:05 739 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: btnSubmit]
--- 01 Oct 14:27:07 457 - 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%3did56kdecgavronqz1qtt9fnmn6tvlwec4pg7mzp-thuznv5ygvgmkoby60eew47p_kkrzt6taioqvyvneaa-qyn--ipxa56ixcoph7blzp_gq1m-3zjpimxsbc1b4jmrsffa9j1rb2ebjbpbme4yk_zfdoalw6gvx6gpenta1isajzt-ocl0yblnwpdc11dl0l2tel5vwfjoffci_hcl8g&response_mode=form_post&nonce=638633896259430112.yzi0mdc4yzctndlioc00odgyltk3zgutnmq3nza0mjk2zdg3mdljy2q5owitntk3ny00yjg0ltg4otytmja2ntljndq1odri&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 14:27:07 459 - 1 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:27:17 130 - Unable to find an element after 3 sec ==> Proxy element for: AjaxElementLocator 'By.id: btnSubmit'
--- 01 Oct 14:27:21 490 - Unable to find an element after 0 sec ==> Proxy element for: AjaxElementLocator 'By.id: ErrorSummaryHeader'
--- 01 Oct 14:27:21 562 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: lightbox]
--- 01 Oct 14:27:21 630 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: i0116]
--- 01 Oct 14:27:21 715 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: i0116]
--- 01 Oct 14:27:27 077 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: idSIButton9]
--- 01 Oct 14:27:27 884 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: i0118]
--- 01 Oct 14:27:33 702 - Page URL:: https://login.microsoftonline.com/common/login
--- 01 Oct 14:27:33 703 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:27:33 777 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: lightbox]
--- 01 Oct 14:27:34 196 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: idSIButton9]
--- 01 Oct 14:27:36 023 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 01 Oct 14:27:36 024 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:27:36 094 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: btnUpload]
--- 01 Oct 14:27:36 239 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 01 Oct 14:27:36 240 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:27:36 330 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> css selector: .header]
--- 01 Oct 14:27:36 400 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> xpath: //a[text()='Administration']]
--- 01 Oct 14:27:38 510 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> xpath: //a[text()='Administration']]
--- 01 Oct 14:27:43 041 - Page URL:: https://esignplusqa.immesign.com/teaasp/producttypemntc.aspx
--- 01 Oct 14:27:43 042 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:27:43 109 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: ctl00_cph1_btnAdd]
--- 01 Oct 14:27:43 336 - Page URL:: https://esignplusqa.immesign.com/teaasp/producttypemntc.aspx
--- 01 Oct 14:27:43 337 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:27:43 507 - Page URL:: https://esignplusqa.immesign.com/teaasp/producttypeaddedit.aspx
--- 01 Oct 14:27:43 507 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:27:43 579 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: btnSave]
--- 01 Oct 14:27:45 644 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: ctl00_cph1_txtProdType]
--- 01 Oct 14:27:50 949 - Page URL:: https://esignplusqa.immesign.com/teaasp/producttypeaddedit.aspx
--- 01 Oct 14:27:50 949 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:27:51 016 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: ctl00_cph1_txtDescription]
--- 01 Oct 14:27:56 282 - Page URL:: https://esignplusqa.immesign.com/teaasp/producttypeaddedit.aspx
--- 01 Oct 14:27:56 283 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:27:56 526 - Page URL:: https://esignplusqa.immesign.com/teaasp/producttypeaddedit.aspx
--- 01 Oct 14:27:56 527 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:27:57 483 - Page URL:: https://esignplusqa.immesign.com/teaasp/producttypeaddedit.aspx
--- 01 Oct 14:27:57 483 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:27:57 628 - Page URL:: https://esignplusqa.immesign.com/teaasp/producttypeaddedit.aspx
--- 01 Oct 14:27:57 629 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:27:57 686 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: btnSave]
--- 01 Oct 14:27:57 912 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: btnSearchby]
--- 01 Oct 14:29:45 013 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> link text: 1]
Expected: auto-Guaranty-Agreement-RS-AFD731.pdf must be selected
Actual(Failed): auto-Guaranty-Agreement-RS-AFD731.pdf is not selected[ScreenShot]
Actual(Failed): auto-Guaranty-Agreement-RS-AFD731.pdf is not selected[ScreenShot]
--- 01 Oct 14:29:49 146 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> id: btnSearchby]
--- 01 Oct 14:31:35 992 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (a9581bf4adaad686bc0c44f56dba626b)] -> link text: 1]
Expected: Auto-Loan-App-ShowApp_OptionalSig.pdf must be selected
Actual(Failed): Auto-Loan-App-ShowApp_OptionalSig.pdf is not selected[ScreenShot]
Actual(Failed): Auto-Loan-App-ShowApp_OptionalSig.pdf is not selected[ScreenShot]
--- 01 Oct 14:31:39 450 - Page URL:: https://esignplusqa.immesign.com/teaasp/producttypeaddedit.aspx
--- 01 Oct 14:31:39 451 - 0 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:103)
--- 01 Oct 14:31:53 951 - Unable to find a element after 12 sec ==> Proxy element for: AjaxElementLocator 'By.id: ctl00_cph1_dgDocumentSets'
Timed out after 2 seconds. Unable to locate the element [ScreenShot]
12 ignored methods
com.imm.testscripts.ConfiguringFI.ConfiguringFI
uploadDocsBySelectingFilesAndDelete
editExistingDocument
verifyDefiningAttachments
verifyExportBtnInDocSetsMaintenancePage
verifyUploadDocuments
uploadDocsByDragAndDrop
verifyExportBtnInDocsMaintenanceXMLPage
verifyDeletingAnSelectedDocument
editExistingDocumentUpdateKeepUnlockField
createDocSet
verifyEditingUploadedDocument
criteriaMaintenance
editExistingDocument
verifyDefiningAttachments
verifyExportBtnInDocSetsMaintenancePage
verifyUploadDocuments
uploadDocsByDragAndDrop
verifyExportBtnInDocsMaintenanceXMLPage
verifyDeletingAnSelectedDocument
editExistingDocumentUpdateKeepUnlockField
createDocSet
verifyEditingUploadedDocument
criteriaMaintenance
Methods in chronological order
com.imm.testscripts.ConfiguringFI.ConfiguringFI
initialize(org.testng.TestRunner@3fc736c4)
0 ms
init(org.testng.TestRunner@3fc736c4)
22360 ms
deleteDocSet(, chrome_Windows 10)
25969 ms