QA
Fresher~8 minNegative testsMultiple teststoHaveCount

Invalid credentials and required fields

App: PeopleDesk HR, a practice HR management portal (OrangeHRM-style). Login: Admin / admin123.

Next scenario →

Interview scenario

"Cover the two classic negative cases on login: empty fields and a wrong password. One test each."

Acceptance criteria

  1. Test 1: click Login with both fields empty and assert two "Required" messages.
  2. Test 2: log in as Admin with a wrong password and assert "Invalid credentials".
  3. Both tests should stay on the login page.

🔒 This lab is part of full access

Unlock the live editor, the scenario checks and the reference solutions in Playwright and Selenium Java for all 25 labs, plus every interview answer. One payment of ₹999, lifetime access.