corusent.qa.globalstream.tests.freeplay.GenreBarTitle
testGenreBarTitle
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":"h3.GenreBar-title"}
(Session info: chrome=136.0.7103.59)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.32.0', revision: 'd17c8aa950'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.355-280.684.amzn2.x86_64', java.version: '11.0.19'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [8e6e720aa36906414cd72143805e0eca, findElement {value=h3.GenreBar-title, using=css selector}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 136.0.7103.59, chrome: {chromedriverVersion: 136.0.7103.49 (031848bc6ad0..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:46163}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://localhost:46163/devtoo..., se:cdpVersion: 136.0.7103.59, 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: 8e6e720aa36906414cd72143805e0eca
at org.openqa.selenium.remote.ErrorCodec.decode(ErrorCodec.java:167)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:138)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:50)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:215)
at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:216)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:174)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)
at org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:368)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:362)
at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:68)
at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)
at com.sun.proxy.$Proxy12.getText(Unknown Source)
at corusent.qa.globalstream.pageobject.PageObjectFreeplay.isGenreBarTitleTextCorrect(PageObjectFreeplay.java:31)
at corusent.qa.globalstream.tests.freeplay.GenreBarTitle.testGenreBarTitle(GenreBarTitle.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 18 stack frames
(Verify Freeplay sections title stays Browse by Genre)
corusent.qa.globalstream.tests.footer.CorusLogo
testFooterCorusLogo
java.lang.AssertionError: Footer Corus Logo Link (href) does not return status code 200 expected [true] but found [false]
at corusent.qa.globalstream.tests.footer.CorusLogo.testFooterCorusLogo(CorusLogo.java:16)
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 17 stack frames
(Verify Corus Brand Logo in footer)
corusent.qa.globalstream.tests.schedule.ScheduleFavChannelState
testScheduleFavChannelState
java.lang.AssertionError: Channel Logo Hearth Icon is not filled with color after user clicks channel-logo heart icon expected [true] but found [false]
at corusent.qa.globalstream.tests.schedule.ScheduleFavChannelState.testScheduleFavChannelState(ScheduleFavChannelState.java:37)
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 17 stack frames
(Verify that Favorite channel selection/state is not lost after page refreshes)
corusent.qa.globalstream.tests.footer.FooterNavLinks
testFooterNavLinks
java.lang.AssertionError: Footer Menu Link (href) does not return valid status code. expected [true] but found [false]
at corusent.qa.globalstream.tests.footer.FooterNavLinks.testFooterNavLinks(FooterNavLinks.java:22)
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 17 stack frames
(Verify Links under Footer Menu)
corusent.qa.globalstream.tests.shows.ShowShare
corusent.qa.globalstream.tests.header.GlobalLogo
corusent.qa.globalstream.tests.search.SearchPerPage
corusent.qa.globalstream.tests.search.BasicSearch
corusent.qa.globalstream.tests.footer.SocialLinks
corusent.qa.globalstream.tests.header.MenuLinks
corusent.qa.globalstream.tests.footer.CopyrightYear
corusent.qa.globalstream.tests.shows.ShowTileSelect
corusent.qa.globalstream.tests.schedule.ScheduleQueryString
/codebuild/output/src2644065958/src/GlobalStream/resources/testngGlobalStreamUat.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite thread-count="2" parallel="classes" name="TestSuiteGlobalStreamUat" guice-stage="DEVELOPMENT" verbose="0">
<test thread-count="2" parallel="classes" name="GlobalStreamChromeDesktopUat" verbose="0">
<parameter name="paramBrowserType" value="Chrome"/>
<parameter name="paramTestUrl" value="https://watch.globaltv.com/"/>
<classes>
<class name="corusent.qa.globalstream.tests.footer.CopyrightYear"/>
<class name="corusent.qa.globalstream.tests.footer.CorusLogo"/>
<class name="corusent.qa.globalstream.tests.footer.FooterNavLinks"/>
<class name="corusent.qa.globalstream.tests.footer.SocialLinks"/>
<class name="corusent.qa.globalstream.tests.header.GlobalLogo"/>
<class name="corusent.qa.globalstream.tests.header.MenuLinks"/>
<class name="corusent.qa.globalstream.tests.search.BasicSearch"/>
<class name="corusent.qa.globalstream.tests.search.SearchPerPage"/>
<class name="corusent.qa.globalstream.tests.shows.ShowAirYear"/>
<class name="corusent.qa.globalstream.tests.shows.ShowShare"/>
<class name="corusent.qa.globalstream.tests.shows.ShowTileSelect"/>
<class name="corusent.qa.globalstream.tests.schedule.ScheduleQueryString"/>
<class name="corusent.qa.globalstream.tests.schedule.ScheduleFavChannelState"/>
<class name="corusent.qa.globalstream.tests.freeplay.GenreBarTitle"/>
</classes>
</test> <!-- GlobalStreamChromeDesktopUat -->
</suite> <!-- TestSuiteGlobalStreamUat -->
Tests for TestSuiteGlobalStreamUat
- GlobalStreamChromeDesktopUat (14 classes)
Groups for TestSuiteGlobalStreamUat
Times for TestSuiteGlobalStreamUat
Total running time: 4 minutes
Reporter output for TestSuiteGlobalStreamUat
testScheduleFavChannelState
check if heart logo icon is filled with correct color as per channel name provided
Screenshot added below..
0 ignored methods
Methods in chronological order
corusent.qa.globalstream.tests.footer.CorusLogo
beforeMethod(Chrome, https://watch.globaltv.com/)
0 ms
corusent.qa.globalstream.tests.footer.CopyrightYear
beforeMethod(Chrome, https://watch.globaltv.com/)
1 ms
testCopyrightYear
7229 ms
corusent.qa.globalstream.tests.footer.CorusLogo
testFooterCorusLogo
7449 ms
corusent.qa.globalstream.tests.footer.CopyrightYear
afterMethod
13355 ms
corusent.qa.globalstream.tests.footer.FooterNavLinks
beforeMethod(Chrome, https://watch.globaltv.com/)
13609 ms
corusent.qa.globalstream.tests.footer.CorusLogo
afterMethod
14762 ms
corusent.qa.globalstream.tests.footer.SocialLinks
beforeMethod(Chrome, https://watch.globaltv.com/)
14812 ms
corusent.qa.globalstream.tests.footer.FooterNavLinks
testFooterNavLinks
17693 ms
corusent.qa.globalstream.tests.footer.SocialLinks
testFooterSocialLinks
18628 ms
corusent.qa.globalstream.tests.footer.FooterNavLinks
afterMethod
26883 ms
corusent.qa.globalstream.tests.header.GlobalLogo
beforeMethod(Chrome, https://watch.globaltv.com/)
26922 ms
corusent.qa.globalstream.tests.footer.SocialLinks
afterMethod
28347 ms
corusent.qa.globalstream.tests.header.MenuLinks
beforeMethod(Chrome, https://watch.globaltv.com/)
28578 ms
corusent.qa.globalstream.tests.header.GlobalLogo
testHeaderGlobalLogo
30315 ms
corusent.qa.globalstream.tests.header.MenuLinks
testHeaderMenuLinks
32618 ms
corusent.qa.globalstream.tests.header.GlobalLogo
afterMethod
39342 ms
corusent.qa.globalstream.tests.search.BasicSearch
beforeMethod(Chrome, https://watch.globaltv.com/)
39533 ms
corusent.qa.globalstream.tests.header.MenuLinks
afterMethod
42260 ms
corusent.qa.globalstream.tests.search.SearchPerPage
beforeMethod(Chrome, https://watch.globaltv.com/)
42412 ms
corusent.qa.globalstream.tests.search.BasicSearch
testBasicSearch
43331 ms
corusent.qa.globalstream.tests.search.SearchPerPage
testSearchPerPage
46796 ms
afterMethod
61735 ms
corusent.qa.globalstream.tests.shows.ShowAirYear
beforeMethod(Chrome, https://watch.globaltv.com/)
61824 ms
testShowAirYear
64172 ms
afterMethod
75746 ms
corusent.qa.globalstream.tests.shows.ShowShare
beforeMethod(Chrome, https://watch.globaltv.com/)
75861 ms
testShowShare
78057 ms
corusent.qa.globalstream.tests.search.BasicSearch
afterMethod
79645 ms
corusent.qa.globalstream.tests.shows.ShowTileSelect
beforeMethod(Chrome, https://watch.globaltv.com/)
79853 ms
testShowTileSelect
83582 ms
afterMethod
90582 ms
corusent.qa.globalstream.tests.schedule.ScheduleQueryString
beforeMethod(Chrome, https://watch.globaltv.com/)
90674 ms
testScheduleQueryString
93135 ms
corusent.qa.globalstream.tests.shows.ShowShare
afterMethod
97147 ms
corusent.qa.globalstream.tests.schedule.ScheduleFavChannelState
beforeMethod(Chrome, https://watch.globaltv.com/)
97228 ms
corusent.qa.globalstream.tests.schedule.ScheduleQueryString
afterMethod
98992 ms
corusent.qa.globalstream.tests.freeplay.GenreBarTitle
beforeMethod(Chrome, https://watch.globaltv.com/)
99140 ms
testGenreBarTitle
99877 ms
corusent.qa.globalstream.tests.schedule.ScheduleFavChannelState
testScheduleFavChannelState
100308 ms
corusent.qa.globalstream.tests.freeplay.GenreBarTitle
afterMethod
143041 ms
corusent.qa.globalstream.tests.schedule.ScheduleFavChannelState
afterMethod
163868 ms