18. fejezet – Komplex Teszt Flow
Selenium teszt flow: Login · Létrehozás · Feltöltés · Keresés · Szerkesztés · Export · DB ellenőrzés · Kijelentkezés
Random delay 1–4s
Loading overlay
Async validation
Changing IDs
DB Verify
Welcome Back!
Please sign in to your account.
Username
id="username-4721"
Password
id="password"
Forgot password?
Credentials: admin / admin123
© 2024 Employee Management System
Dashboard
Home Dashboard
Total Employees
256
+12 this month
New Hires
24
+8 this month
Departments
12
View all
Pending Approvals
7
Requires action
Recent Activities
John Doe was added to Engineering department
2 min ago
Jane Smith updated contact information
15 min ago
Export completed: employees_2025.csv
1 hr ago
3 pending approval requests require action
2 hr ago
Employees
Home Employees
All Employees
| ID | Name | Department | Position | Status | Actions |
|---|
Showing 1 to 7 of 256 entries
...
Add New Employee
Home Employees Add New
1
Personal Info2
Contact3
Employment4
Documents5
Review Personal Information
Add New Employee
Home Employees Add New
Personal Info
2
Contact3
Employment4
Documents5
Review Contact Information
Add New Employee
Home Employees Add New
Personal Info
Contact
3
Employment4
Documents5
Review Employment Information
Add New Employee
Home Employees Add New
Personal Info
Contact
Employment
4
Documents5
Review Upload Documents
Drag & drop files here
or click to browse
or click to browse
Accepted formats: PDF, JPG, PNG (Max size: 5MB each)
Uploaded Documents
Export
Home Export
Export Employee Data
Export employee data in CSV format for analysis.
Audit Logs / DB Verify
Home Audit Logs
Database Verification
Verifies the last created employee's data in the database.
Selenium — Komplex flow referencia reference
Overlay wait
new WebDriverWait(driver,15)
.until(ExpectedConditions
.invisibilityOfElementLocated(
By.id("ov")));
Async validation wait
wait.until(ExpectedConditions
.presenceOfElementLocated(
By.cssSelector(".ab-ok")));
Changing ID locator
driver.findElement(
By.cssSelector(
"[data-stable='login-btn']"));