corusent.qa.corusent.tests.footer.CopyrightYear
testCopyrightYear
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":".copyright"}
(Session info: headless chrome=89.0.4389.90)
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ip-10-31-212-241.ec2.internal', ip: '10.31.212.241', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.225-121.362.amzn1.x86_64', java.version: '11.0.10'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 89.0.4389.90, chrome: {chromedriverVersion: 89.0.4389.23 (61b08ee2c5002..., userDataDir: /tmp/.com.google.Chrome.UpHWnf}, goog:chromeOptions: {debuggerAddress: localhost:42687}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: b5c47ce51c62e367f30019a9ef5074f3
*** Element info: {Using=css selector, value=.copyright}
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByCssSelector(RemoteWebDriver.java:420)
at org.openqa.selenium.By$ByCssSelector.findElement(By.java:431)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)
at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)
at com.sun.proxy.$Proxy11.getAttribute(Unknown Source)
at corusent.qa.corusent.pageobject.PageObject_Footer_CopyRight.isCopyrightYearUpToDate(PageObject_Footer_CopyRight.java:25)
at corusent.qa.corusent.tests.footer.CopyrightYear.testCopyrightYear(CopyrightYear.java:19)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
... Removed 12 stack frames
(Verify Copyright functionalities! ......)
/codebuild/output/src807114214/src/Corusent/resources/TestNG-Corusent-UAT-HeaderValidations.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite configfailurepolicy="continue" thread-count="1" parallel="tests" name="Corusent-UAT-TestSuite-Header-Validation" guice-stage="DEVELOPMENT" verbose="0">
<test thread-count="1" parallel="tests" name="CorusentChromeDesktop" verbose="0">
<parameter name="paramBrowserType" value="Chrome"/>
<parameter name="paramTestUrl" value="https://uat1.corusent.com/"/>
<classes>
<class name="corusent.qa.corusent.tests.footer.CopyrightYear"/>
</classes>
</test> <!-- CorusentChromeDesktop -->
</suite> <!-- Corusent-UAT-TestSuite-Header-Validation -->
Tests for Corusent-UAT-TestSuite-Header-Validation
- CorusentChromeDesktop (1 class)
Groups for Corusent-UAT-TestSuite-Header-Validation
Times for Corusent-UAT-TestSuite-Header-Validation
Total running time: 4 minutes
Reporter output for Corusent-UAT-TestSuite-Header-Validation
testCopyrightYear
1. Verify footer copyrigth year is updated. ......
0 ignored methods
Methods in chronological order
corusent.qa.corusent.tests.footer.CopyrightYear
beforeMethod(Chrome, https://uat1.corusent.com/)
0 ms
testCopyrightYear
242346 ms
afterMethod
252448 ms