Skip to content

Commit

Permalink
Merge pull request #147 from newscorp-ghfb/Jansi-Automation-Testing
Browse files Browse the repository at this point in the history
Failed Tc
  • Loading branch information
ArchanaSaini149 authored Jan 24, 2025
2 parents ec7e4ab + eb0428f commit 3dd872a
Show file tree
Hide file tree
Showing 661 changed files with 213,403 additions and 38,853 deletions.
4 changes: 2 additions & 2 deletions .pabotsuitenames
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
datasources:33d9dec82e8b9f8248737b71cb03c7894a4013c4
datasources:3dcf846f1108c9c785011a7eb9d1fb4a0886fcb5
commandlineoptions:b5789e3b44d5bec4226166196b2cd12c0139fd2e
suitesfrom:no-suites-from-option
file:f024746f5fb02b83f835083ee7ae37035f514f80
file:84f9120238faa80d3afeb976890d3b07a97efc79
--suite Userservices-Qa-Automation.Panda-Qa.Tests.FollowWidget.Regression.MarketWatch Regression
--suite Userservices-Qa-Automation.Panda-Qa.Tests.FollowWidget.Regression.API Automation
--suite Userservices-Qa-Automation.Panda-Qa.Tests.FollowWidget.Regression.Barrons Regression
Expand Down
2 changes: 1 addition & 1 deletion browserstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Add your BrowserStack userName and accessKey here or set BROWSERSTACK_USERNAME and
# BROWSERSTACK_ACCESS_KEY as env variables
userName: [email protected] #jansisasikumar_XRKqk6 #[email protected] #newsroomdevtest_xCBmjv
accessKey: Lv2l3jg7pYbuCg2caMMgmfqVcsuv8g #ptazxpsTbsRFWhsEXpoM #Lv2l3jg7pYbuCg2caMMgmfqVcsuv8g #s3c1cGNU2UpLq5iJzNzx
accessKey: iFzp4wb8qJpnUeL #Lv2l3jg7pYbuCg2caMMgmfqVcsuv8g #ptazxpsTbsRFWhsEXpoM #Lv2l3jg7pYbuCg2caMMgmfqVcsuv8g #s3c1cGNU2UpLq5iJzNzx
# ======================
# BrowserStack Reporting
# ======================
Expand Down
14 changes: 14 additions & 0 deletions local.log
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,17 @@ Fri Dec 27 2024 20:31:03:87 GMT+0530 (India Standard Time) -- [SUCCESS] You can
Fri Dec 27 2024 20:31:04:55 GMT+0530 (India Standard Time) -- Press Ctrl-C to exit



Fri Jan 03 2025 16:13:23:44 GMT+0530 (India Standard Time) -- [WARNING] Skipping initialisation of configuration console because: port already in use by another Binary
Fri Jan 03 2025 16:13:23:475 GMT+0530 (India Standard Time) -- [SUCCESS] You can now access your local server(s) in our remote browser

Fri Jan 03 2025 16:13:24:456 GMT+0530 (India Standard Time) -- Press Ctrl-C to exit



Fri Jan 17 2025 20:38:05:169 GMT+0530 (India Standard Time) -- [WARNING] Skipping initialisation of configuration console because: port already in use by another Binary
Fri Jan 17 2025 20:38:05:644 GMT+0530 (India Standard Time) -- [SUCCESS] You can now access your local server(s) in our remote browser

Fri Jan 17 2025 20:38:06:686 GMT+0530 (India Standard Time) -- Press Ctrl-C to exit


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
23 changes: 21 additions & 2 deletions panda-qa/Tests/FollowWidget/Regression/Barrons_Regression.robot
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ Validate the Barrons Preference Center page
BarronsNewslettersPage.Barrons Signout Process
BarronsNewslettersPage.Validate watchlist is present



#US-T467
Validate the Barrons Preference Center page watchlist logout
[Documentation] This test case validates the barrons preference center page Logout
Expand Down Expand Up @@ -96,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 @@ -106,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 Expand Up @@ -274,6 +276,23 @@ Validate the Watchlist widget from Market Data page
#BarronsMarketDataPage.Delete Watchlist
# BarronsMarketDataPage.Validate Create Button

#US-T466
Validate the Watchlist widget from Market Data page
[Documentation] This test case validates the watchlist widget from market data page
[Tags] Regression Watchlist MarketdataPage US-T125
CommonFunctionality.Start Barrons for Market Data page
BarronsMarketDataPage.Validate Watchlist for non-logged user
BarronsMarketDataPage.Watchlist Sign In
DefinedKeywords.Sign In Process
Set Selenium Speed 0.5 seconds
Capture Page Screenshot screenshot.png
BarronsMarketDataPage.Validate Market Data Page
#BarronsMarketDataPage.Click Create Button
#BarronsMarketDataPage.Type Watchlist Name
#BarronsMarketDataPage.Type Symbol
#BarronsMarketDataPage.Select Symbol

#US-T136
Validate the Barrons digest notification
[Documentation] This test case validates the Barrons digest notification
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 Expand Up @@ -210,6 +210,7 @@ Validate the MarketWatch Newsletter
MarketWatchAlertsPage.Validation of Unsubscripton of After the Bell newsletters

#US-T434
#US-T450
Validate the MarketWatch Newsletter
[Documentation] This test case validates the Europe Daily
[Tags] Regression TagED
Expand All @@ -225,6 +226,7 @@ Validate the MarketWatch Newsletter
MarketWatchAlertsPage.Validation of Unsubscription to Europe Daily newsletters

#US-T451
#US-T450
#US-T435
Validate the MarketWatch Newsletter
[Documentation] This test case validates the Tech Daily
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
Loading

0 comments on commit 3dd872a

Please sign in to comment.