Read a value from the product specifications tab
Easy30 pts
- Tabs
- ARIA state
- Tables
Practice app · ShopZone
A full marketplace: two-step sign-in, search with filters and sorting, product pages with tabs, a cart with coupons, and checkout.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Open the Nimbus X2 Wireless Headphones, switch to the Specifications tab and verify the advertised battery life is 40 hours.
Your Task
- 1Open TEST_URL and navigate to the Nimbus X2 Wireless Headphones product page.
- 2Click the Specifications tab (#tab-specs).
- 3Find the “Battery life” row in the specifications table.
- 4Assert its value is “40 hours”.
Validation Checks
- The Specifications tab is selected.
- The tab panel shows a battery life of 40 hours.
- The test asserts the value.
Fixtures
- buyer@shopzone.test
- Password
- Shop@123
- Account name
- Asha Verma
- Coupon
- SAVE10 (10% off the subtotal)
- Pincodes
- 560001 Bengaluru · 110001 New Delhi · 400001 Mumbai · 600001 Chennai
Cloud Execution & Grading Guide
This Easy Selenium Challenges exercise runs inside TargetQA's managed cloud sandbox using Selenium WebDriver 4 (Java, Python, C#). Every submission runs inside an isolated headless Chromium container with pre-synced drivers, capturing live console logs, DOM assertions, and a 720p step-by-step video replay.
- Supported stacks: Java (Selenium 4 + JUnit 5) · Python (Selenium 4 + pytest) · C# (Selenium 4 + NUnit)
- Zero local setup: Use the pre-declared
TEST_URLvariable so your script targets the live ShopZone sandbox reliably without hardcoding hosts. - Automated grading: Click Run to inspect step logs and behavior, then click Submit to validate all 3 acceptance checks and earn 30 points.
Selenium WebDriver 4 · Selenium Challenges Practice Track · ShopZone