Verify login button using absolute and relative XPath
Preconditions (2)
Step 1: Open the browser and navigate to the login page URL
Step 2: Locate the login button using absolute XPath and verify it is displayed
Step 3: Locate the login button using relative XPath and verify it is displayed
Step 4: Click the login button using relative XPath
Step 5: Verify that the next page URL contains '/dashboard'
✅ Expected Result: Login button is found and visible using both absolute and relative XPath. Clicking the button navigates to the dashboard page.