corusent.qa.corusent.tests.header.MainNavMenus
testMainNavMenus
java.lang.AssertionError: The following asserts failed:
One or more main nav texts are empty or the links do not return statusCode 200 ...... expected [true] but found [false]
at corusent.qa.corusent.tests.header.MainNavMenus.testMainNavMenus(MainNavMenus.java:26)
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:829)
... Removed 19 stack frames
(Verify The Main Navigation Menus.)
corusent.qa.corusent.tests.footer.FooterCorusLogo
testFooterLogo
java.lang.AssertionError: The following asserts failed:
The Footer - Corus Logo link's href does not return statusCode 200. expected [true] but found [false]
at corusent.qa.corusent.tests.footer.FooterCorusLogo.testFooterLogo(FooterCorusLogo.java:41)
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:829)
... Removed 19 stack frames
(Verify Footer - Corus Brand Logo.)
corusent.qa.corusent.tests.footer.FooterMenus
testFooterMenus
java.lang.AssertionError: The following asserts failed:
One or more Footer - Menu link does not return statusCode 200. expected [true] but found [false]
at corusent.qa.corusent.tests.footer.FooterMenus.testFooterMenus(FooterMenus.java:31)
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:829)
... Removed 19 stack frames
(Verify Footer - Menus.)
corusent.qa.corusent.tests.footer.SocialIcons
testSocialIcons
java.lang.AssertionError: The following asserts failed:
One or more Social Icon's href does not return statusCode 200. expected [true] but found [false]
at corusent.qa.corusent.tests.footer.SocialIcons.testSocialIcons(SocialIcons.java:48)
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:829)
... Removed 19 stack frames
(Verify Footer - Social Icons)
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=91.0.4472.101)
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-214-90.ec2.internal', ip: '10.31.214.90', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.225-121.362.amzn1.x86_64', java.version: '11.0.11'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 91.0.4472.101, chrome: {chromedriverVersion: 91.0.4472.101 (af52a90bf870..., userDataDir: /tmp/.com.google.Chrome.qy6pi5}, goog:chromeOptions: {debuggerAddress: localhost:41517}, 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: a7659e9c3c5a6110a07a160148540669
*** 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.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:829)
... Removed 21 stack frames
(Verify Footer - Copyright Year is updated.)
corusent.qa.corusent.tests.header.MainNavCorusLogo
corusent.qa.corusent.tests.header.HeaderCorusLogo
/codebuild/output/src703754177/src/Corusent/resources/TestNG-Corusent-UAT-RegressionTestSuite.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite thread-count="3" parallel="classes" name="CorusentUATRegressionTestSuite" guice-stage="DEVELOPMENT" verbose="0">
<test thread-count="3" parallel="classes" name="CorusentChromeDesktopRegressionTest" verbose="0">
<parameter name="paramBrowserType" value="Chrome"/>
<parameter name="paramTestUrl" value="https://uat1.corusent.com/"/>
<classes>
<class name="corusent.qa.corusent.tests.header.HeaderCorusLogo"/>
<class name="corusent.qa.corusent.tests.header.HamburgerBtn"/>
<class name="corusent.qa.corusent.tests.header.MainNavCorusLogo"/>
<class name="corusent.qa.corusent.tests.header.MainNavMenus"/>
<class name="corusent.qa.corusent.tests.footer.CopyrightYear"/>
<class name="corusent.qa.corusent.tests.footer.FooterCorusLogo"/>
<class name="corusent.qa.corusent.tests.footer.FooterMenus"/>
<class name="corusent.qa.corusent.tests.footer.SocialIcons"/>
</classes>
</test> <!-- CorusentChromeDesktopRegressionTest -->
</suite> <!-- CorusentUATRegressionTestSuite -->
Tests for CorusentUATRegressionTestSuite
- CorusentChromeDesktopRegressionTest (8 classes)
Groups for CorusentUATRegressionTestSuite
Times for CorusentUATRegressionTestSuite
Total running time: 50 seconds
Reporter output for CorusentUATRegressionTestSuite
testHeaderNavLogo
1. Verify Main Nav Menus - Corus Logo image is loaded properly. ......
The Main Nav Menus - Corus Logo is loaded: true
---------- This test is Passed!
2. Verify Main Nav Menus - Corus Logo url returns statusCode 200. ......
... https://uat1.corusent.com/ - 200
---------- This test is Passed!
3. Verify Main Nav Menus - Corus Logo links to Homepage. ......
The Main Nav Menus - Corus Logo link: https://uat1.corusent.com/
---------- This test is Passed!
4. Verify Main Nav Menus - Corus Logo has proper alt attribute. ......
The Main Nav Menus - Corus Logo ALT value is: Corus Entertainment
---------- This test is Passed!
testHamburgerMenuBtn
1. Verify Header - Hamburger Button toggles the main nav menus. ......
Click Hamburger Button, the Main Nav Menus is opened!
Click Hamburger Button again, the Main Nav Menus is closed!
---------- This test is Passed!
2. Verify Header - Hamburger Button has text of "Menu". ......
The Hamburger Button text is: Menu
---------- This test is Passed!
testHeaderLogo
1. Verify Header - Corus Logo image is loaded properly. ......
The Header - Corus Logo is loaded: true
---------- This test is Passed!
2. Verify Header - Corus Logo url returns statusCode 200. ......
... https://uat1.corusent.com/ - 200
---------- This test is Passed!
3. Verify Header - Corus Logo links to Homepage. ......
The Header - Corus Logo Link: https://uat1.corusent.com/
---------- This test is Passed!
4. Verify Header - Corus Logo has proper alt attribute. ......
The Header - Corus Logo ALT value is: Corus Entertainment
---------- This test is Passed!
testCopyrightYear
1. Verify footer copyrigth year is updated. ......
testFooterMenus
1. Verify each Footer - Menu text is not empty. ......
About Corus
Social Responsibility
Newsroom
Advertising
Investor Relations
Careers
Terms & Conditions
Privacy Policy
Contact Us
Frequently Asked Questions
Accessibility
---------- This test is Passed!
2. Verify each Footer - Menu link returns statusCode 200. ......
FooterMenus - About Corus... https://uat1.corusent.com/about-corus/overview - 200
FooterMenus - Social Responsibility... https://uat1.corusent.com/social-responsibility/overview - 200
FooterMenus - Newsroom... https://uat1.corusent.com/advertising/divisions/news - 200
FooterMenus - Advertising... https://uat1.corusent.com/advertising/overview - 502
FooterMenus - Investor Relations... https://uat1.corusent.com/investor-relations/overview - 200
FooterMenus - Careers... https://uat1.corusent.com/careers - 200
FooterMenus - Terms & Conditions... https://uat1.corusent.com/terms-conditions - 200
FooterMenus - Privacy Policy... https://uat1.corusent.com/privacy-policy - 200
FooterMenus - Contact Us... https://uat1.corusent.com/contact-us - 200
FooterMenus - Frequently Asked Questions... https://uat1.corusent.com/faq - 200
FooterMenus - Accessibility... https://uat1.corusent.com/accessibility - 200
---------- This test is Failed!
testSocialIcons
1. Verify each Social Icon is loaded properly. ......
All 3 Social Icons are loaded.
---------- This test is Passed!
2. Verify the href of each Social Icon will return statusCode 200. ......
SocialIcons -
... https://www.linkedin.com/company/corus-entertainment - 999
SocialIcons -
... https://www.glassdoor.com/ - 503
SocialIcons -
... https://twitter.com/CorusPR - 200
---------- This test is Failed!
3. Verify each Social Icon links to correct website. ......
https://www.linkedin.com/company/corus-entertainment
https://www.glassdoor.com/
https://twitter.com/CorusPR
---------- This test is Passed!
4. Verify each Social Icon has proper alt attribute. ......
Visit us on LinkedIn
Visit us on Glassdoor
Visit us on Twitter
---------- This test is Passed!
5. Verify each Social Icon opens a new tab. ......
_blank...... opens a new tab.
_blank...... opens a new tab.
_blank...... opens a new tab.
---------- This test is Passed!
testFooterLogo
1. Verify Footer - Corus Logo image is loaded properly. ......
The Footer - Corus Logo is loaded: true
---------- This test is Passed!
2. Verify Footer - Corus Logo url returns statusCode 200. ......
... https://uat1.corusent.com/ - 502
---------- This test is Failed!
3. Verify Footer - Corus Logo links to Homepage. ......
The url: https://uat1.corusent.com/
---------- This test is Passed!
4. Verify Footer - Corus Logo has proper alt attribute. ......
The alt: Corus Entertainment
---------- This test is Passed!
testMainNavMenus
1. Verify Main Nav Menus - the text is not empty and links return statusCode 200. ......
About... Overview... https://uat1.corusent.com/about-corus/overview - 200
About... Our Values... https://uat1.corusent.com/about-corus/our-values - 200
About... Leadership... https://uat1.corusent.com/about-corus/leadership - 200
About... Corus Quay... https://uat1.corusent.com/about-corus/corus-quay - 200
About... DEI Action Plan... https://uat1.corusent.com/about-corus/dei-action-plan - 200
About... Speakers and Events... https://uat1.corusent.com/about-corus/speakers-and-events - 200
Brands... https://uat1.corusent.com/brands - 200
Social Responsibility... Overview... https://uat1.corusent.com/social-responsibility/overview - 200
Social Responsibility... People... https://uat1.corusent.com/social-responsibility/people - 200
Social Responsibility... Diversity and Inclusion... https://uat1.corusent.com/social-responsibility/diversity-and-inclusion - 200
Social Responsibility... Communities... https://uat1.corusent.com/social-responsibility/communities - 200
Social Responsibility... Industry... https://uat1.corusent.com/social-responsibility/industry - 200
Social Responsibility... Environment... https://uat1.corusent.com/social-responsibility/environment - 200
Social Responsibility... Accessibility... https://uat1.corusent.com/social-responsibility/accessibility - 502
Investor Relations... Overview... https://uat1.corusent.com/investor-relations/overview - 200
Investor Relations... Dividends... Information... https://uat1.corusent.com/investor-relations/dividend-information - 200
Investor Relations... Dividends... History... https://uat1.corusent.com/investor-relations/dividend-history - 200
Investor Relations... Dividends... Reinvestment Plan... https://uat1.corusent.com/investor-relations/dividend-reinvestment-plan - 200
Investor Relations... Financial Reports... https://uat1.corusent.com/investor-relations/financial-reports - 200
Investor Relations... Press Releases... https://uat1.corusent.com/investor-relations/press-releases - 200
Investor Relations... Events and Presentations... https://uat1.corusent.com/investor-relations/events-and-presentations - 200
Investor Relations... Shareholder Resources... Shareholder Services... https://uat1.corusent.com/investor-relations/shareholder-resources/shareholder-services - 200
Investor Relations... Shareholder Resources... Stock Information... https://uat1.corusent.com/investor-relations/stock-information - 200
Investor Relations... Shareholder Resources... Analyst Coverage... https://uat1.corusent.com/investor-relations/shareholder-resources/analyst-coverage - 200
Investor Relations... Shareholder Resources... Frequently Asked Questions... https://uat1.corusent.com/investor-relations/shareholder-resources/frequently-asked-questions - 200
Investor Relations... Shareholder Resources... Contact IR... https://uat1.corusent.com/investor-relations/shareholder-resources/contact-ir - 200
Investor Relations... Email Alerts... https://uat1.corusent.com/investor-relations/email-alerts - 200
Investor Relations... Governance... Leadership and Directors... https://uat1.corusent.com/investor-relations/governance/leadership-and-directors - 200
Investor Relations... Governance... Governance Documents... https://uat1.corusent.com/investor-relations/governance/governance-documents - 200
Advertising... Overview... https://uat1.corusent.com/advertising/overview - 200
Advertising... Television... https://uat1.corusent.com/advertising/television - 200
Advertising... Digital... https://uat1.corusent.com/advertising/digital - 200
Advertising... Radio... https://uat1.corusent.com/advertising/radio - 200
Advertising... Advanced Advertising... https://uat1.corusent.com/advertising/advanced-advertising - 200
Advertising... Local Advertising... https://uat1.corusent.com/advertising/local-advertising - 200
Advertising... Creative Services... https://uat1.corusent.com/advertising/creative-services - 200
Advertising... Divisions... Entertainment... https://uat1.corusent.com/advertising/divisions/entertainment - 200
Advertising... Divisions... Lifestyle... https://uat1.corusent.com/advertising/divisions/lifestyle - 200
Advertising... Divisions... News... https://uat1.corusent.com/advertising/divisions/news - 200
Advertising... Divisions... Kids... https://uat1.corusent.com/advertising/divisions/kids - 200
Careers... https://uat1.corusent.com/careers - 200
Terms & Conditions... https://uat1.corusent.com/terms-conditions - 200
Privacy Policy... https://uat1.corusent.com/privacy-policy - 200
Contact Us... https://uat1.corusent.com/contact-us - 200
Frequently Asked Questions... https://uat1.corusent.com/faq - 200
Accessibility... https://uat1.corusent.com/accessibility - 200
---------- This test is Failed!
0 ignored methods
Methods in chronological order
corusent.qa.corusent.tests.header.HamburgerBtn
beforeMethod(Chrome, https://uat1.corusent.com/)
0 ms
corusent.qa.corusent.tests.header.MainNavCorusLogo
beforeMethod(Chrome, https://uat1.corusent.com/)
1 ms
corusent.qa.corusent.tests.header.HeaderCorusLogo
beforeMethod(Chrome, https://uat1.corusent.com/)
1 ms
testHeaderLogo
5108 ms
corusent.qa.corusent.tests.header.MainNavCorusLogo
testHeaderNavLogo
5565 ms
corusent.qa.corusent.tests.header.HamburgerBtn
testHamburgerMenuBtn
6283 ms
afterMethod
8545 ms
corusent.qa.corusent.tests.header.MainNavMenus
beforeMethod(Chrome, https://uat1.corusent.com/)
8615 ms
corusent.qa.corusent.tests.header.HeaderCorusLogo
afterMethod
9716 ms
corusent.qa.corusent.tests.footer.CopyrightYear
beforeMethod(Chrome, https://uat1.corusent.com/)
9782 ms
testCopyrightYear
10130 ms
corusent.qa.corusent.tests.header.MainNavCorusLogo
afterMethod
15817 ms
corusent.qa.corusent.tests.footer.FooterCorusLogo
beforeMethod(Chrome, https://uat1.corusent.com/)
15895 ms
corusent.qa.corusent.tests.header.MainNavMenus
testMainNavMenus
16797 ms
corusent.qa.corusent.tests.footer.FooterCorusLogo
testFooterLogo
19020 ms
afterMethod
19332 ms
corusent.qa.corusent.tests.footer.FooterMenus
beforeMethod(Chrome, https://uat1.corusent.com/)
19399 ms
corusent.qa.corusent.tests.footer.CopyrightYear
afterMethod
20189 ms
corusent.qa.corusent.tests.footer.SocialIcons
beforeMethod(Chrome, https://uat1.corusent.com/)
20258 ms
corusent.qa.corusent.tests.footer.FooterMenus
testFooterMenus
21829 ms
corusent.qa.corusent.tests.footer.SocialIcons
testSocialIcons
22906 ms
corusent.qa.corusent.tests.footer.FooterMenus
afterMethod
23712 ms
corusent.qa.corusent.tests.footer.SocialIcons
afterMethod
25041 ms
corusent.qa.corusent.tests.header.MainNavMenus
afterMethod
36205 ms