Skip to content

Commit

Permalink
US-T26,27,28,29,30,31,32,33,34,111,122,217 - Failed Tc are fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
JansiSasiumar12 committed Jan 22, 2025
1 parent 97b3fec commit eb0428f
Show file tree
Hide file tree
Showing 131 changed files with 132,481 additions and 25 deletions.
14 changes: 7 additions & 7 deletions panda-qa/Resources/CommonFunctionality.robot
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ${ExpectedCookieValue2}= 5Nnx9DUR7NQg8XPwvztud7o0OivfiKth

${Browser}= ff #headless, ff, chrome, edge, safari

${Env}= prod #dev, prod, stg
${Env}= dev #dev, prod, stg

${Email_prod}= [email protected]

Expand Down Expand Up @@ -96,8 +96,8 @@ Start Mansion Global Article
Open Browser https://www.mansionglobal.com ${Browser} options=${options}
Go To https://www.mansionglobal.com/articles/are-there-tax-breaks-on-agricultural-land-in-pennsylvania-01648119848
ELSE IF "${Env}" == "dev"
Open Browser https://www.s.dev.mansionglobal.com ${Browser} options=${options}
Go To https://www.s.dev.mansionglobal.com/articles/article-long-text-01643043212
Open Browser https://www.stg.mansionglobal.com ${Browser} options=${options}
Go To https://www.stg.mansionglobal.com/articles/article-long-text-01643043212
END
Wait Until Page Contains Element dom:${JSFollowButtonMGPath}
Maximize Browser Window
Expand All @@ -109,8 +109,8 @@ Start FN Article
Open Browser https://www.fnlondon.com ${Browser} options=${options}
Go To https://www.fnlondon.com/articles/complaints-commissioner-fca-transparency-20220615
ELSE IF "${Env}" == "dev"
Open Browser https://www.s.dev.fnlondon.com ${Browser} options=${options}
Go To https://www.s.dev.fnlondon.com/articles/testing-article-timestamp-20231102
Open Browser https://www.dev.fnlondon.com ${Browser} options=${options}
Go To https://www.dev.fnlondon.com/articles/testing-article-timestamp-20231102
Execute javascript window.scrollTo(0,500)
END
Execute javascript window.scrollTo(0,500)
Expand Down Expand Up @@ -236,8 +236,8 @@ Start Mansion Global Article without byline
Open Browser https://www.mansionglobal.com ${Browser} options=${options}
Go To https://www.mansionglobal.com/articles/what-property-tax-changes-are-in-store-for-luxury-home-owners-in-edmonton-canada-e0d92933
ELSE IF "${Env}" == "dev"
Open Browser https://www.s.dev.mansionglobal.com ${Browser} options=${options}
Go To https://www.s.dev.mansionglobal.com/articles/article-long-text-01643043212
Open Browser https://www.stg.mansionglobal.com ${Browser} options=${options}
Go To https://www.stg.mansionglobal.com/articles/article-long-text-01643043212
END
Maximize Browser Window

Expand Down
6 changes: 3 additions & 3 deletions panda-qa/Resources/DefinedKeywords.robot
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ Market Watch Sign In Process
Click Element //html/body/div/section/div/div[2]/form/button

MarketWatch Test User Sign In Process
#Click Button //html/body/div[11]/div/div[2]/div[2]/button[1]
#Wait Until Element is visible //html/body/section/nav/header/div[4]/label
#Click Element //html/body/section/nav/header/div[4]/label
Click Button //html/body/div[11]/div/div[2]/div[2]/button[1]
Wait Until Element is visible //html/body/section/nav/header/div[4]/label
Click Element //html/body/section/nav/header/div[4]/label
Wait Until Element is visible //*[@id="maincontent"]/div/div/section/div[1]/div[3]/div/a #//html/body/section/nav/header/div[4]/ul/li[2]/a
Click Element //*[@id="maincontent"]/div/div/section/div[1]/div[3]/div/a #//html/body/section/nav/header/div[4]/ul/li[2]/a
Click Button //*[@id="emailOrUsername"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Validate the Barrons Preference Center page
#US-T26
Validate Authors for Barrons Article page without byline
[Documentation] This test case validates authors without byline for barrons article page
[Tags] Regression Author Article Follow1
[Tags] Regression Author Article US-T26
CommonFunctionality.Start Barrons Article without byline
BarronsArticlePage.Validate author without byline
Expand All @@ -108,7 +108,7 @@ Validate Authors for Barrons Article page without byline
#US-T217
Validate the Watchlist widget from Watchlist page
[Documentation] This test case validates the watchlist widget from watchlist page
[Tags] Regression Watchlist 215
[Tags] Regression Watchlist US-T215
CommonFunctionality.Start Barrons for Watchlist page
DefinedKeywords.Sign In Process
Expand Down
2 changes: 1 addition & 1 deletion panda-qa/Tests/FollowWidget/Regression/FN_Regression.robot
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Validate the FN real-time company notification
#US T357
Validate Postback on Preference Center
[Documentation] This test case validates the FN Postback on Preference Center
[Tags] Regression Postback 357
[Tags] Regression Postback US-T35
FNPreferenceCenterPage.Add Breaking News By Hotlink
DefinedKeywords.FN Sign In Process
Set Selenium Implicit Wait 15s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ Validate the Mansion GLobal Preference Center page
#US-T27
Validate Authors for Mansion Global Article page without byline
[Documentation] This test case validates authors without byline for Mansion Global article page
[Tags] Regression Author Article Follow1
[Tags] Regression Author Article US-T27
CommonFunctionality.Start Mansion Global Article without byline
DefinedKeywords.Mansion Global Sign In Process
MansionGlobalArticlePage.Validate author without byline

#US-T148
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Validate the Market Watch Preference Center page
#US-T28
Validate Authors for MarketWatch Article page without byline
[Documentation] This test case validates authors without byline for Market Watch article page
[Tags] Regression Author Article
[Tags] Regression Author US-T28
CommonFunctionality.Start Market Watch Article without byline
MarketWatchArticlePage.Validate author without byline
Expand All @@ -55,7 +55,7 @@ Validate the Watchlist widget from Watchlist page
CommonFunctionality.Start MarketWatch for Watchlist page
Execute javascript window.scrollTo(0,500)
DefinedKeywords.MarketWatch Test User Sign In Process
DefinedKeywords.Market Watch Sign In Process #MarketWatch Test User Sign In Process
Set Selenium Speed 0.5 seconds
Capture Page Screenshot screenshot.png
MarketWatchWatchlistPage.Validate Watchlist Page
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Validate the PEN Preference Center page
#US-T29
Validate Authors for PEN Article page without byline
[Documentation] This test case validates authors without byline for PEN article page
[Tags] Regression Article Author Follow1
[Tags] Regression Article Author US-T29
CommonFunctionality.Start PEN Article without byline
PENArticlePage.Validate author without byline
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Validate the WSJ Preference Center page
#US-T30
Validate Authors for WSJ Article page without byline
[Documentation] This test case validates authors without byline for WSJ article page
[Tags] Regression Article Author WSJ
[Tags] Regression Article Author US-T30
CommonFunctionality.Start WSJ Article without byline
IF "${Env}" == "prod"
Expand Down
8 changes: 4 additions & 4 deletions panda-qa/Tests/FollowWidget/Smoke/Barrons_Smoke.robot
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
99*** Settings ***
*** Settings ***
Documentation Barrons Smoke Tests
Force Tags Barrons Smoke TagBarrons
Resource ../../../Resources/CommonFunctionality.robot
Expand Down Expand Up @@ -46,9 +46,9 @@ Validate the author follow button from articles page
#US-T32
Validate the follow button from authors page
[Documentation] This test case validates the follow button from authors page
[Tags] Smoke Follow Author TagBarronsFA
[Tags] Smoke Follow Author US-T31
Set Selenium Speed 0.5 seconds
#Set Selenium Speed 0.5 seconds
BarronsArticlePage.Validate author hyperlink
BarronsArticlePage.Click author hyperlink
#IF "${Env}" == "dev"
Expand Down Expand Up @@ -82,7 +82,7 @@ Validate the stock pick follow button from articles page
#US-T254
Validate the Barrons Preference Center page
[Documentation] This test case validates the barrons preference center page
[Tags] Smoke PreferenceCenter TagBarronsPFS
[Tags] Smoke PreferenceCenter US-T188
Set Selenium Speed 0.2 seconds
BarronsPreferenceCenterPage.Navigate Preference Center page
DefinedKeywords.Sign In Process
Expand Down
6 changes: 3 additions & 3 deletions panda-qa/Tests/FollowWidget/Smoke/MarketWatch_Smoke.robot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Resource ../../../Resources/PageObjects/MarketWatchPreferenceCenterPage.robot

Test Setup CommonFunctionality.Start Market Watch Article
Test Teardown CommonFunctionality.Finish Testcase
*** Variables ***

*** Variables ***

Expand Down Expand Up @@ -40,14 +39,15 @@ Validate the follow button from articles page
#US-T40
#US-T41
#US-T42
#US-T111
Validate the follow button from authors page
[Documentation] This test case validates the follow button from authors page
[Tags] Smoke Follow Author TagMWAB
[Tags] Smoke Follow Author US-T111
MarketWatchArticlePage.Validate author hyperlink
MarketWatchArticlePage.Click author hyperlink
MarketWatchAuthorsPage.Validate Authors Page
# MarketWatchArticlePage.Validate Follow Button

#US-T185
#US-T90
#US-T258
Expand Down
2 changes: 2 additions & 0 deletions results/geckodriver-620.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1737518022339 geckodriver INFO Listening on 127.0.0.1:50856
1737518025400 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "50857" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "D:\\Users\\sasikumarj\\AppData\\Local\\Temp\\rust_mozprofilelHJMmr"
87 changes: 87 additions & 0 deletions results/geckodriver-621.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
1737518100933 geckodriver INFO Listening on 127.0.0.1:50892
1737518103994 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "50893" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "D:\\Users\\sasikumarj\\AppData\\Local\\Temp\\rust_mozprofileuxkBu9"
console.warn: services.settings: Ignoring preference override of remote settings server
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
Dynamically enable window occlusion 0
1737518104643 Marionette INFO Marionette enabled
1737518104882 Marionette INFO Listening on port 50900
WebDriver BiDi listening on ws://127.0.0.1:50893
Read port: 50900
console.error: Policies:
Download failed - ERROR_CORRUPT_FILE - file://C:\Program Files\Snow Software\Inventory\Agent\FFCloudmetering.xpi
1737518105117 RemoteAgent WARN TLS certificate errors will be ignored for this session
DevTools listening on ws://127.0.0.1:50893/devtools/browser/c47f49c5-7b88-414b-a525-a45dcd9a7c51
console.error: ({})
console.error: ({})
JavaScript error: https://www.barrons.com/asset/dj-watchlist/v1.14.3/p-0633e57d.entry.js, line 11: TypeError: Error.captureStackTrace is not a function
JavaScript error: https://cdn.cxense.com/sp1.html#ver=2.8.90&typ=pgv&rnd=m67df848tlvzpf63&sid=9222325317970825875&loc=https%3A%2F%2Fwww.barrons.com%2F&new=1&arf=0&ltm=1737518112731&ref=&tzo=-330&wsz=1280x595&res=1280x720&dpr=1&col=24&bln=en-US&chs=UTF-8&cks=m67df8ia1eiaftma&ckp=m67df848wcr0grai&glb=&cp_userState=anon, line 1: TypeError: cX.loadScript is not a function
JavaScript warning: https://pagead2.googlesyndication.com/bg/xhloPt0V3HYDZqxMOCNqLI9Qa0-bNWhyd5ULBccPyWM.js line 2 > eval line 4102 > eval line 1 > eval line 1 > eval, line 1: WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER.
1737518117484 Marionette WARN Ignoring event 'pageshow' because document has an invalid readyState of 'uninitialized'.
JavaScript error: https://www.barrons.com/ line 33 > injectedScript, line 37: SecurityError: Permission denied to access property "setTimeout" on cross-origin object
JavaScript warning: https://gum.criteo.com/syncframe?origin=criteoPrebidAdapter&topUrl=www.barrons.com&us_privacy=1YNN&gpp=DBABRg~BVoAACA&gpp_sid=9#{%22cw%22:true,%22lsw%22:true,%22origin%22:%22criteoPrebidAdapter%22,%22requestId%22:%220.7313356608570671%22,%22tld%22:%22www.barrons.com%22,%22topUrl%22:%22www.barrons.com%22,%22version%22:%229_12_0%22}, line 13: Script terminated by timeout at:
r.prototype.flushEventQueue@https://gum.criteo.com/syncframe?origin=criteoPrebidAdapter&topUrl=www.barrons.com&us_privacy=1YNN&gpp=DBABRg~BVoAACA&gpp_sid=9#{%22cw%22:true,%22lsw%22:true,%22origin%22:%22criteoPrebidAdapter%22,%22requestId%22:%220.7313356608570671%22,%22tld%22:%22www.barrons.com%22,%22topUrl%22:%22www.barrons.com%22,%22version%22:%229_12_0%22}:13:3137
r/<@https://gum.criteo.com/syncframe?origin=criteoPrebidAdapter&topUrl=www.barrons.com&us_privacy=1YNN&gpp=DBABRg~BVoAACA&gpp_sid=9#{%22cw%22:true,%22lsw%22:true,%22origin%22:%22criteoPrebidAdapter%22,%22requestId%22:%220.7313356608570671%22,%22tld%22:%22www.barrons.com%22,%22topUrl%22:%22www.barrons.com%22,%22version%22:%229_12_0%22}:13:3642

JavaScript error: https://pbcs.barrons.com/s/dj/barrons/pb.js, line 827: TypeError: can't convert undefined to object
JavaScript warning: https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015, line 1: Script terminated by timeout at:
e@https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015:1:1784
168/B/t<@https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015:1:4607
B@https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015:1:4899
168/<@https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015:1:2797

console.error: ({})
console.error: ({})
JavaScript warning: https://cdn.gbqofs.com/sv/b/detector-bootstrap.min.js, line 0: Successfully compiled asm.js code (total compilation time 2ms)
JavaScript error: https://cdn.cxense.com/sp1.html#ver=2.8.90&typ=pgv&rnd=m67dfftwtq5oson9&sid=9222325317970825875&loc=https%3A%2F%2Fwww.s.dev.barrons.com%2Farticles%2Fbuy-under-armour-stock-pick-51650672000&new=0&arf=0&ltm=1737518122733&ref=&tzo=-330&wsz=1280x595&res=1280x720&dpr=1&col=24&bln=en-US&chs=UTF-8&cks=m67dfgb3d4zs3u2h&ckp=m67df848wcr0grai&glb=&amo=1720048200&cp_userState=anon, line 1: TypeError: cX.loadScript is not a function
JavaScript warning: https://pagead2.googlesyndication.com/bg/xhloPt0V3HYDZqxMOCNqLI9Qa0-bNWhyd5ULBccPyWM.js line 2 > eval line 3541 > eval line 1 > eval line 1 > eval, line 1: WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER.
1737518127101 Marionette WARN Ignoring event 'pageshow' because document has an invalid readyState of 'uninitialized'.
console.warn: WindowsJumpLists: "Failed to fetch favicon for " "https://www.s.dev.barrons.com/articles/buy-under-armour-stock-pick-51650672000" ({})
console.warn: WindowsJumpLists: "Failed to fetch favicon for " "https://www.barrons.com/" ({})
JavaScript warning: https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js, line 48: Script terminated by timeout at:
Va@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:48:534
Wa@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:48:436
ih/c/</<@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:131:292
uc.prototype.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:81:218
n.Fd@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:756
n.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:523
n.Fd@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:756
n.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:523
n.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:83:903
cd.prototype.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:89:1293
uc.prototype.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:81:218
n.Fd@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:756
n.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:523
ih/c/</</<@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:131:320
Xa@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:49:339
Ua.prototype.flush@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:49:127
Wa@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:48:483
ih/c/</<@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:131:292
uc.prototype.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:81:218
n.Fd@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:756
n.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:523
R/</<@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:101:1469
L/this.Fd@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:90:888
n.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:523
M/</<@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:91:473
L/this.Fd@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:90:888
n.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:523
R/</<@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:101:1469
L/this.Fd@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:90:888
n.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:523
M/</<@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:91:473
L/this.Fd@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:90:888
n.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:523
qg/</</</<@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:121:515
Sa.prototype.Ub/<@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:48:315
qg/</</<@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:121:524
uc.prototype.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:81:218
n.Fd@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:756
n.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:523
Ad/k/<@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:92:510
L/this.Fd@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:90:888
n.next@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:80:523
h@https://pagead2.googlesyndication.com/pagead/managed/js/activeview/current/ufs_web_display.js:93:477

1737518236540 Marionette INFO Stopped listening on port 50900
Dynamically enable window occlusion 1
JavaScript error: , line 0: AbortError: The operation was aborted.
Loading

0 comments on commit eb0428f

Please sign in to comment.