qa-portfolio

Homepage UI Layout and Components Display

1. Test Case Information


2. Environment & Dependencies

Test Environment:

Dependencies:


3. Preconditions


4. Test Data

Field Description Value
test_url Target homepage URL https://www.automationexercise.com
page_title Expected browser title Automation Exercise
navigation_links Expected navigation items Home, Products, Cart, Signup / Login, Test Cases, API Testing, Video Tutorials, Contact us

5. Test Steps

Step # Action Locator / Reference Expected Result
1 Navigate to the homepage page.goto("https://www.automationexercise.com") Homepage loads successfully with title “Automation Exercise.”
2 Verify logo visibility and attributes page.locator("div.logo.pull-left a img") Logo is visible with valid src and alt attributes.
3 Verify navigation bar visibility page.locator("ul.nav.navbar-nav") Navigation bar is displayed correctly below the logo.
4 Validate navigation link texts and hrefs page.locator("ul.nav.navbar-nav > li > a") Each navigation link displays expected text and valid href value.
5 Verify Featured Items section presence page.locator("div.features_items") Section visible with heading “Featured Items.”
6 Verify Recommended Items section presence page.locator("div.recommended_items") Section visible with heading “Recommended Items.” (Scrolling may be required.)
7 Verify footer visibility page.locator("footer#footer") Footer displayed at bottom of page with branding and social icons.

6. Expected Results


7. Actual Results

(To be completed after execution.)


8. Status


9. Postconditions


10. Notes


11. Automation Readiness


Appendix: Locator Reference

Element Purpose Playwright Locator
Logo Brand identity check page.locator("div.logo.pull-left a img")
Navigation bar Container for main links page.locator("ul.nav.navbar-nav")
Navigation links Verify link text and href values page.locator("ul.nav.navbar-nav > li > a")
Featured Items Validate section presence page.locator("div.features_items")
Recommended Items Validate section presence page.locator("div.recommended_items")
Footer Confirm footer visibility and content page.locator("footer#footer")