com.imm.testscripts.Cases.Cases
verifyMaximumIndexCreation
Element should be clickable: interactable and enabled {{xpath: //button[@id='btnAddNewIndexType']}}
Element: '<button class="btn action btn-nav-adjast action pull-right" disabled="true" id="btnAddNewIndexType" name type="submit" value>New Index Type</button>'
Actual value: disabled
Timeout: 4 s.
at com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:125)
at com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:102)
at com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:148)
at com.codeborne.selenide.commands.Click.findElement(Click.java:42)
at com.codeborne.selenide.commands.Click.execute(Click.java:28)
at com.codeborne.selenide.FluentCommand.execute(FluentCommand.java:23)
at com.codeborne.selenide.FluentCommand.execute(FluentCommand.java:19)
at com.codeborne.selenide.commands.Commands.execute(Commands.java:159)
at com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:131)
at com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:83)
at jdk.proxy2/jdk.proxy2.$Proxy24.click(Unknown Source)
at com.imm.support.BrowserActions.clickOnElementDisplayed(BrowserActions.java:511)
at com.imm.support.BrowserActions.clickOnElementDisplayed(BrowserActions.java:495)
at com.imm.pages.IndexFieldMaintenancePage.clickNewIndexTypeButton(IndexFieldMaintenancePage.java:397)
at com.imm.testscripts.Cases.Cases.verifyMaximumIndexCreation(Cases.java:3108)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
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:1511)
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)
(To verify the Index creation limit)
C:\Users\sa_kaushal.patel\eclipse-workspace\Latest_9_25_AnalisisCloudProjectScript\AdobeSignCloud\testxml\regression\Chrome_Run.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="1" name="IMM_Test_Chrome" verbose="3">
<classes>
<class name="com.imm.testscripts.Cases.Cases">
<methods>
<include name="verifyMaximumIndexCreation"/>
</methods>
</class> <!-- com.imm.testscripts.Cases.Cases -->
</classes>
</test> <!-- IMM_Test_Chrome -->
</suite> <!-- IMM_Esign_Chrome -->
Tests for IMM_Esign_Chrome
- IMM_Test_Chrome (1 class)
Groups for IMM_Esign_Chrome
Cases
verifyMaximumIndexCreation
P1
verifyMaximumIndexCreation
Smoke
verifyMaximumIndexCreation
Times for IMM_Esign_Chrome
Total running time: 1 minutes
Reporter output for IMM_Esign_Chrome
verifyMaximumIndexCreation
Successfully navigated to 'Cases' page [ScreenShot]
Successfully navigated to 'Index fields maintenance' page [ScreenShot]
--- 12 Sep 17:11:14 553 - TestCaseID:: verifyMaximumIndexCreation
--- 12 Sep 17:11:19 450 - 4 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:558)
To verify the Index creation limit
Steps:
--- 12 Sep 17:11:27 967 - Page URL:: https://esignplusqa.immesign.com/teaasp/login.aspx
--- 12 Sep 17:11:27 969 - 6 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 12 Sep 17:11:28 630 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> xpath: //*[@id='btnSubmit']]
--- 12 Sep 17:11:29 100 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> xpath: //input[@id='ctl00_cph1_txtHSFIID']]
--- 12 Sep 17:11:30 192 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> xpath: //*[@id='btnSubmit']]
--- 12 Sep 17:11:33 055 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> id: i0116]
--- 12 Sep 17:11:34 590 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> id: idSIButton9]
--- 12 Sep 17:11:38 286 - 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%3da-wlrixgyzlkeu-lfxl7fjwg8ahobh97um0r9ojbqcy1sxmz26bsq1fd6_9kajibzl0lqidrhqzpb744pnegakfbfbbi-9pwe_fhi1a_6dnuyxyqcumgkbshhnkxextt0c1lzuetyajhzsithnsvchi1rmj_hjrtlvlv2h7ylwxa_egipiq0vl3pxozbpy1mdppn8uamkvducsk9jyzkqg&response_mode=form_post&nonce=638932744844798127.n2m1nmuxmgytymvhmy00njbilwjhm2qtyjgwm2jkytc0zmvlztbmndaznjctzjbmyi00nzfhltg2zjqtngvlztu1zgfmngqw&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
--- 12 Sep 17:11:38 287 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 12 Sep 17:11:40 455 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> id: idSIButton9]
--- 12 Sep 17:11:44 659 - Page URL:: https://login.microsoftonline.com/common/login
--- 12 Sep 17:11:44 660 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 12 Sep 17:11:45 106 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> id: lightbox]
--- 12 Sep 17:11:45 198 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> id: idSIButton9]
--- 12 Sep 17:11:53 341 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 12 Sep 17:11:53 341 - 7 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 12 Sep 17:11:56 557 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 12 Sep 17:11:56 558 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 12 Sep 17:11:56 995 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> id: btnUpload]
--- 12 Sep 17:12:00 240 - Page URL:: https://esignplusqa.immesign.com/teaasp/documentmntc.aspx
--- 12 Sep 17:12:00 241 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 12 Sep 17:12:00 681 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> css selector: .header]
--- 12 Sep 17:12:01 243 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> xpath: //a[text()='Processing']]
--- 12 Sep 17:12:12 618 - Page URL:: https://esignplusqa.immesign.com/teaasp/wfcases
--- 12 Sep 17:12:12 619 - 5 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 12 Sep 17:12:13 027 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> id: immPageTitle]
--- 12 Sep 17:12:16 294 - Page URL:: https://esignplusqa.immesign.com/teaasp/wfcases
--- 12 Sep 17:12:16 295 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 12 Sep 17:12:16 378 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> css selector: .header]
Successfully navigated to 'Cases' page [ScreenShot]
--- 12 Sep 17:12:16 968 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> css selector: ul[id*='dropdownUL'] > li]
--- 12 Sep 17:12:17 415 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> xpath: //a[text()='Administration']]
--- 12 Sep 17:12:26 471 - Page URL:: https://esignplusqa.immesign.com/teaasp/indexfieldsmaintenance
--- 12 Sep 17:12:26 472 - 4 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 12 Sep 17:12:26 964 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> xpath: //button[@id='btnAddNewIndexType']]
--- 12 Sep 17:12:30 333 - Page URL:: https://esignplusqa.immesign.com/teaasp/indexfieldsmaintenance
--- 12 Sep 17:12:30 334 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 12 Sep 17:12:30 421 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> css selector: .header]
Successfully navigated to 'Index fields maintenance' page [ScreenShot]
--- 12 Sep 17:12:31 004 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> css selector: label[data-bind*='text: $root.DocumentsCount']]
--- 12 Sep 17:12:31 112 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> css selector: label[data-bind*='text: $root.DocumentsCount']]
--- 12 Sep 17:12:34 524 - Page URL:: https://esignplusqa.immesign.com/teaasp/indexfieldsmaintenance
--- 12 Sep 17:12:34 524 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
--- 12 Sep 17:12:36 384 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> xpath: //button[@id='btnAddNewIndexType']]
--- 12 Sep 17:12:47 261 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> xpath: //input[@validationmessage='Index Field Name is required.']]
--- 12 Sep 17:12:47 757 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> xpath: //input[@validationmessage='Index Field Name is required.']]
--- 12 Sep 17:12:50 023 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> css selector: label[data-bind*='text: $root.DocumentsCount']]
Expected: The count of the Indexes must be greater after adding a new Index
Actual(Failed): The count of the Indexes is not greater after adding a new Index[ScreenShot]
Actual(Failed): The count of the Indexes is not greater after adding a new Index[ScreenShot]
--- 12 Sep 17:12:54 077 - Page URL:: https://esignplusqa.immesign.com/teaasp/indexfieldsmaintenance
--- 12 Sep 17:12:54 078 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
Expected: The Index Field name should be listed Test32
Actual(Failed): The Index Field name is not listed[ScreenShot]
Actual(Failed): The Index Field name is not listed[ScreenShot]
--- 12 Sep 17:12:54 765 - Element is displayed using Selenide:: [[RemoteWebDriver: chrome on Windows 11 (593de5f6a98296f96e3317c945a9fd70)] -> css selector: label[data-bind*='text: $root.DocumentsCount']]
--- 12 Sep 17:12:58 221 - Page URL:: https://esignplusqa.immesign.com/teaasp/indexfieldsmaintenance
--- 12 Sep 17:12:58 221 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:117)
8 ignored methods
com.imm.testscripts.Cases.Cases
verifyUIElementsForCasesPage
verifyWorkingofIndexes
verifySearchFiltersByLogoutAndLogin
takeOwnerShip
verifyUIElementsForSessionDetailsPage
rerouteBulkSessions
validateSearchResultsForCasesPage
routingAndReroutingSessions
verifyWorkingofIndexes
verifySearchFiltersByLogoutAndLogin
takeOwnerShip
verifyUIElementsForSessionDetailsPage
rerouteBulkSessions
validateSearchResultsForCasesPage
routingAndReroutingSessions
Methods in chronological order
com.imm.testscripts.Cases.Cases
initialize(org.testng.TestRunner@69542112)
0 ms
init(org.testng.TestRunner@69542112)
10085 ms
verifyMaximumIndexCreation
15285 ms